Re: [Dev] [AF] Why are we having JDBCApplicationDAOTest and JDBCAppVersionDAOTest

2015-06-02 Thread Danushka Fernando
These are two different types of tests. 1. Unit tests are to verify small piece of code. 2. Integration tests are ran for the product itself. These are two different types of testing. Refer to [1] [1] http://stackoverflow.com/questions/5357601/whats-the-difference-between-unit-tests-and-integrati

Re: [Dev] [AF] Why are we having JDBCApplicationDAOTest and JDBCAppVersionDAOTest

2015-06-02 Thread Dimuthu Leelarathne
Hi Mahesh, These are unit tests. These are very important aspect of testing as well. thanks, dimuthu On Tue, Jun 2, 2015 at 7:11 PM, Mahesh Chinthaka wrote: > Hi all, > > In addition to integration tests we are having JDBCApplicationDAOTest.java > and JDBCAppVersionDAOTest.java in org.wso2.ca

[Dev] [AF] Why are we having JDBCApplicationDAOTest and JDBCAppVersionDAOTest

2015-06-02 Thread Mahesh Chinthaka
Hi all, In addition to integration tests we are having JDBCApplicationDAOTest.java and JDBCAppVersionDAOTest.java in org.wso2.carbon.appfactory.core (under src/test). Other org.wso2.carbon.appfactory bundles dont have such test classes. If this is a test case why dont we have it as a integration