Projects tagged ‘junit’ and ‘unit-testing’


[15 total ]

27 Users

DbUnit is a JUnit extension (also usable with Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to ... [More] avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. DbUnit has the ability to export and import your database data to and from XML datasets. Since version 2.0, DbUnit can works with very large dataset when use in streaming mode. DbUnit can also helps you to verify that your database data match expected set of values. [Less]
Created over 2 years ago.

11 Users
   

FEST is a collection of compact and fluent APIs, which mission is to simplify software testing. The project provides libraries for: * Functional testing of Swing-based UIs * Functional ... [More] testing of JavaFX-based UIs * Fluent interface for assertions * Easy-to-use fluent interface for Java Reflection * Template for simplifying usage of mock objects [Less]
Created over 2 years ago.

6 Users
   

HttpUnit emulates the relevant portions of browser behavior, including form submission, Javascript, basic HTTP authentication, cookies, and automatic page redirection, and allows Java test code to ... [More] examine returned pages either as text, an XML DOM, or containers of forms, tables, and links. When combined with a framework such as JUnit, it is fairly easy to write tests that very quickly verify the functioning of a Web site. [Less]
Created over 3 years ago.

4 Users
   

An alternative HTML reporting plug-in for TestNG. Generates easy-to-understand XHTML reports. Also includes a basic JUnit format XML reporter.
Created over 2 years ago.

2 Users
   

JsUnit is a simple framework to write repeatable tests in JavaScript. It is an instance of the xUnit architecture for unit testing frameworks.
Created over 3 years ago.

1 Users

gunit provides a simple way to write and run automated tests for grammars in a manner similar to what jUnit does for unit testing. The basic idea is to come up with a bunch of input/output pairs for ... [More] rules in a grammar. The input can be a single line or multiple lines of strings or even an external file. The output can be simply success or failure, an abstract syntax tree (AST), a rule return value, or some text output. [Less]
Created over 2 years ago.

1 Users

Provides method stubbing for concrete Java classes, intended for use with JUnit 4.
Created 8 months ago.

1 Users
 

JsTester allows validation of javaScript code inside java. It provides a group of assert methods like JUnit's Assert, it also supports the validations described in ... [More] http://javascript.crockford.com/remedial.html, and the ability to use your own validations (unary & binary predicates). The project provides two ways of creating your tests: by inheritance (JsTestCase), and by composition (JsTester). Use JsTestCase as you would normally use any extension of TestCase. Use JsTester with TestNG or JUnit4 and annotations, or inside another TestCase hierarchy. Includes Groovy support. [Less]
Created over 2 years ago.

1 Users

Great ! - You're into Extreme Programming. You've written the tests ( JUnit of course). You've done the most simple thing that could possibly work. You've even shared your keyboard with a colleague. ... [More] But have you done enough? 'Test everything that could possibly break' is the motto. But how good are the tests you've written? Are they missing any part of your code? Are you testing too much? Is something being tested only via 5 or 6 nested calls? NoUnit answers these questions by giving you a simple picture of your code. Like a Graph , NoUnit shows you a picture of your code , and reveals how good your JUnit tests are. [Less]
Created over 2 years ago.

1 Users
   

Mockrunner is a lightweight framework for unit testing applications in the J2EE environment. It supports servlets, filters, tag classes and Struts actions and forms. Furthermore it includes a JDBC, a ... [More] JMS and a JCA test framework and can be used in conjunction with MockEJB to test EJB based applications. Mockrunner extends JUnit and simulates the necessary behaviour without calling the real infrastructure. It does not need a running application server or a database. Furthermore it does not call the webcontainer or the Struts ActionServlet. It is very fast and enables the user to manipulate all involved classes and mock objects in all steps of the test. It can be used to write very sophisticated unit-tests for J2EE based applications without any overhead. Mockrunner does not support any [Less]
Created over 2 years ago.