absolutely +1, I have written single JVM node tests for systems that have
100+ servers .. It is bit of work, but pays off as hell at the end

--Srinath

On Thu, Jun 14, 2012 at 6:42 PM, Tharindu Mathew <[email protected]> wrote:

> 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
>
>


-- 
============================
Srinath Perera, Ph.D.
   http://www.cs.indiana.edu/~hperera/
   http://srinathsview.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to