|
From: mudit t. <mud...@gm...> - 2008-08-25 09:17:01
|
Following from earlier comments by Ian Tyrrell -- >It's important to understand that ASUnit is a unit testing framework, >not an integration testing framework. > > It is designed to help verify behavior of a single unit of functionality > in your application, typically at single class/method level. > > It's not really appropriate if you want to test the end-to-end > functionality of your application. > >If you want to verify that when a user clicks a button a request is made >to the server, this would be an integration test. So, I am now focusing to unit-test individual components. I am using Jumpship framework : 1. The framework follows the Command Pattern 2. A controller function is called on command completion. Is it possible to unit-test a Command, or do I need to break down further? |