I've seen some good unit tests for the Agent API from Suho, and it has
resulted in some solid code.

If you write good unit tests you get the following advantages:

- You don't have to build other components to figure out basic
functionality has broken.
- The code naturally improves using proper interfaces to accomodate unit
tests.
- If basic functionality is broken you know immediately.
- You do not need to write features, copy/paste jars in dropins to know
whether your code works properly.

So I'd like to encourage *EVERYONE* to write some good unit tests just like
Suho has written.

The tests are at
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/agent/org.wso2.carbon.agent.server/src/test/java

-- 
Regards,

Tharindu

blog: http://mackiemathew.com/
M: +94777759908
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to