Projects tagged ‘junit’ and ‘tdd’


[23 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.

1 Users

Provides method stubbing for concrete Java classes, intended for use with JUnit 4.
Created 8 months 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.

1 Users

Functional testing framework for developing Project Darkstar applications (e.g. games). Useful for automate regression tests and develop applications in test-driven manner (test-driven development ... [More] , TDD). Framework is based on JUnit and Project Darkstar java client library (Project Darkstar Client SDK). Tests run against working server application from client's perspective, i.e. tests interact with server application using the same production client-server protocol. Subsidiary control actions is done through MBean management objects. Project Darkstar version 0.9.6 is supported at present. Framework is not tested with newest versions, but it will be soon. There is release version 0.2.0. It has sufficient amount of features to be used in your projects. Javadocs and guide with usage examples available in distributive package. [Less]
Created 10 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.

0 Users

DbAssert is a set of assertion methods for jUnit tests to verify your database data. It uses non-intrusive way for writing unit tests, you don't have to extend any specific class to be able to query ... [More] and test your database. Initialize DbAssert and start making assertions against your database right away. [Less]
Created about 1 year ago.

0 Users

Snap Unit TestingSnapTest is a powerful unit testing framework for PHP 5+, leveraging PHP's unique runtime language to simplify the unit test process without sacrificing the agility tests provide. ... [More] SnapTest is a free software project licensed under the new BSD License. SnapTest FeaturesJUnit Compliant Test Harness TAP Compliant Test Output Runnable from Command Line via .sh or .php scripts Full support for mock objects at runtime (minimum parallel structures) as actors and critics Extensible addon system for adapting SnapTest to just about any developer environment SnapTest RequirementsPHP 5.0.0+ (tested 5.1.5+ Debian, 5.2.3+ OSX) PHP binary in user path, /usr/local/bin, /opt/usr/local/bin, or in known location Basic familiarity with unit testing concepts Getting SnapTestThe latest released version is 1.2.0 Final released August 30, 2008. Bleeding edge versions can be obtained via the following repositories and methods: Git Repository: git://github.com/Jakobo/snaptest.git A browseable version of the history is available at http://github.com/Jakobo/snaptest Note: The Git Repository will always be more bleeding edge than releases. This is because the project runs primarily on the git version control system. As more distributed branches are available, they will be listed above. "Mission Statement" of SortsTo put it simply, unit testing should be transparent. There shouldn't be the complexity of test harnesses and coding out stub files. This functionality should be there if you want it, but the barrier to writing tests should be so low that it becomes easier to write the test than the code itself. It is on this philosophy that SnapTest was built. These are some of the goals of SnapTest and the SnapTest project (or at least a concept of what we are trying to do here) in no particular order: Build a PHP unit testing framework Create a 0-effort harness. Easy to run the code, easy to get results Maintain transparency in the code and the community Be as non-intrusive as possible Be memory efficient Link to complex infrastructures easily Take advantage of the OO structure PHP 5 provides Emphasize end-users as one of the most important resources Promote unit testing in a non-oo PHP world Code quickly; it's a snap. [Less]
Created 12 months ago.

0 Users

The benefits of Test-Driven Development (TDD) can be appealing to many seeking to reduce the amount of time spent on a software project, but not all projects can implement the TDD methodology fully. A ... [More] technique similar to TDD -- test-oriented development and debugging -- is implemented as an Eclipse plug-in to support this pragmatic approach so that it can help write high quality software. ScreenshotsInvoking the 'Generate test(s)' actionYou invoke the context menu on or inside the method you wish to write a test for, and then select JUnit/Generate test(s). Result of invoking test generationTODD will find the corresponding test class, open it in an editor and generate a test method for you. All you have to do then is fill in a few 'blanks' and run your new test, which you can do by invoking the Debug JUnit test(s) or Run JUnit test(s) actions in the same menu! [Less]
Created 12 months ago.