You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Nirmal Fernando <ni...@gmail.com> on 2014/10/01 06:24:46 UTC

Mockito library to mock objects for writing tests for CC

I started to play with Mockito library yesterday, to Mock the objects and
it seems to be fairly easy to use. Very initial version can be found at
[1]. Mockito is MIT licensed.

Plan is to improve the code coverage of CC component.

[1]
https://github.com/apache/stratos/blob/cc-unit-tests/components/org.apache.stratos.cloud.controller/src/test/java/org/apache/stratos/cloud/controller/impl/CloudControllerServiceImplTest.java


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/