Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

PowerMock allows you to unit test code normally regarded as untestable. For instance it is possible to mock static methods, remove static initializers, allow mocking without dependency injection and more.

4.75
   
  0 reviews  |  13 users  |  42,220 lines of code  |  1 current contributor  |  Analyzed 8 days ago
 
 

DepUnit is designed with the belief that in any complicated system the unit tests build upon one another. In many unit test frame works there is a considerable amount of effort put into allowing the tester to setup and tear down the environment so that the tests can be performed. We believe that ... [More] this setup and tear down procedure should be a unit test as well. For example a connection needs to be made to the database before unit tests can be performed on the data. The connection process should be a unit test and the other tests depend on it to succeed. With this in mind DepUnit lets you create what we call hard and soft dependencies between tests. DepUnit also allows for clean up tests that perform the tear down of other frameworks. DepUnit is also designed with the idea that data is at the heart of all unit tests. Unit tests usually test a system with some given set of data. DepUnit provides easy mechanisms for passing data into unit tests and passing data from one test to another. DepUnit also provides an easy way to run the same tests multiple times with different data. Try the GettingStarted page to go through a quick tutorial on using DepUnit. Main - Reasons for yet another unit test framework. I'm still trying to figure out a good way to present the end user with a good navigation menu. Until I come up with something better please have a look a the pages in under the Wiki tab above. [Less]

0
 
  0 reviews  |  0 users  |  3,401 lines of code  |  0 current contributors  |  Analyzed 10 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.