Projects tagged ‘junit’


[34 total ]

556USERS
   

Apache Ant is a Java-based build tool. In theory, it is kind of like Make, but without Make's wrinkles.

43USERS
   

TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use, such as: * JDK 5 Annotations (JDK 1.4 is also supported with JavaDoc annotations). * Flexible test ... [More] configuration. * Support for data-driven testing * Support for parameters. * distribution of tests on slave machines. * Powerful execution model * Supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc...). * Embeds BeanShell for further flexibility. * no dependencies * Dependent methods for application server testing. TestNG is designed to cover all categories of tests: unit, functional, end-to-end, integration, etc... [Less]

17USERS
 

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 avoid the myriad of problems that can occur when ... [More] 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]

9USERS
   

FEST is a collection of libraries that aims at simplifying creation and maintenance of automated tests. Its main module, the Swing module, provides the following benefits: * Simulation of user-generated events and reliable GUI component ... [More] lookup * Easy-to-use and powerful API that simplifies creation and maintenance of Swing GUI functional tests * Supports both JUnit and TestNG * Ability to take screenshots of failed GUI tests and embed them in a HTML report (JUnit and TestNG) * Experimental Groovy Builder support for creating GUI tests [Less]

6USERS
   

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 examine returned pages either as text, an XML DOM, or ... [More] 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]

4USERS
 

Buildr is a build system for Java applications. We wanted something that’s simple and intuitive to use, so we only need to tell it what to do, and it takes care of the rest. But also something we can easily extend for those one-off tasks, with a ... [More] language that’s a joy to use. And of course, we wanted it to be fast, reliable and have outstanding dependency management. [Less]

4USERS
   

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

3USERS
 

Concordion is an open source framework for Java that lets you turn a plain English description of a requirement into an automated test.

2USERS

Web development framework written in java, based upon jdbc and Velocity. High test coverage, good object decomposition. Includes a shop, messageboards and CMS. Fully integrated with Maven 1 and 2.

2USERS
   

The Eclipse XPS plug-in shows the results of JUnit test runs using the Dell XPS' built-in LEDs. The LED colors change when the JUnit test run starts, when a test fails and when the test run completes successfully. In the plug-in's preferences you ... [More] can configure colors, brightness, which LEDs should be used and whether the LEDs should pulsate (glow) during the test run. [Less]

2USERS
 

SmartFrog is a distributed deployment system. It allows developers, architects and operations teams to describe the deployment of different parts ("components") of a server-side configuration, then take this description and deploy it across multiple ... [More] servers. Every host runs a small SmartFrog daemon which can deploy and manage part of the overall distributed system. Deployed components (and systems built from them) can be started, stopped and "pinged" for health...some components can apply failure handling and workflow to deployments, enabling the "deployment descriptor" to even include failure handling logic" SmartFrog was developed at HP Labs in Bristol, in the UK. [Less]

2USERS
   

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

2USERS
 

Direct Democracy Portal, mixing open source with politics to create a portal for online organisations governed through direct democracy. Using maven, mysql, hibernate annotations (EJB 3.0), spring framework and ThinWire RIA Ajax Framework.

1USERS

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. But have you done enough? 'Test everything that ... [More] 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]

1USERS

The example code to accompany "Ant in Action", the second edition of "Java Development with Ant". The actual code shows how to use Ant and Ivy for a build and release of a diary web application that serves the data up as an Atom feed, and uses EJB to persist the diary data to a database.

1USERS
 

Open Software Factory turns UML models into executable application code. It supports the rapid development of web service enabled J2EE applications that run on any J2EE server. When using OSF, all design changes are made in your UML model and OSF ... [More] updates your application by iterative code generation. Hand coded software is not touched by OSF. Instead, generated code is seamlessly integrated with hand code with OSF generated pattern implmentations. OSF is currently built on the AndroMDA platform and uses Velocity for code generation. The upcoming major release of OSF is being developed with the Atlas Transformation Language and EMF. Modules for JRuby/Ruby support and plug-ins for NetBeans and Eclipse will be released by December 31, 2007. [Less]

1USERS

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 rules in a grammar. The input can be a single line ... [More] 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]

1USERS
   

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 JMS and a JCA test framework and can be used in ... [More] 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]

1USERS
 

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 http://javascript.crockford.com/remedial.html, and the ability to use your own ... [More] 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]

1USERS
   

Python unittest-based test runner with JUnit like XML reporting.

0USERS

The Umangite framework simplifies the task of writing web tests with Selenium. It's built on TestNG, Spring and Cargo. Here is an example of a simple test: public class HelloWorldTest extends AbstractSeleniumTest { @Override protected ... [More] String[] getConfigLocations() { return new String[] { ... }; } @Test public void test() { open('/testwebapp/index.html'); assertTextPresent('Hello There'); } }AbstractSeleniumTest has an @BeforeClass method that starts the web container and Selenium and @AfterClass method that shuts them down. It also injects itself with Spring beans (from an application context defined by the getConfigLocations()). The Spring beans are responsible for launching Selenium and the web container. There are currently two launchers: one that runs an embedded Jetty and the other uses Cargo to launch Tomcat (To be generalized to support other containers). Here are some example bean definitions: Once of the nice things around this framework is that the same test class can be run with multiple containers - e.g. both Jetty for nimble developer testing and Tomcat for other tests. [Less]

0USERS

Java API for Audioscrobbler Protocols and Web Services

0USERS

This service will allow to create a new email account with these features: 1. It will be active only for a few minutes 2. After that time, it will be blocked for some days, the it will be removed 3. While it is active, It will redirect all the ... [More] received messages to other normal email The features and technolgies used in the project are listed in the links of the menu on your right. Project Milestones: 1 Creation of temp alias, as described above. Done 2 Management of own accounts (increment the time). Done 3 Multiple domains service. A 3rd party user can provide its domain (just the MX dns address) to create emails with it. Project Status: 1.0 beta M2 (in trunk). It's fully funtional! Try it at home, or publish it in a real server  There is a paralell development on a branch, to experiment with new features (Acegi, JTA...) Installation instructions: 1.- Download and Install java 1.5 2.- Download and Install Tomcat 5.5 3.- Download and Install james 2.2.0 4.- Download this code to your IDE 5.- Copy template.properties file and paste it as user.properties. Set up your correct values. 6.- Use the ant tasks to run the app('start-james-db' and then 'deploy') [Less]

0USERS

Abbot is a simple framework for unit and functional testing of Java GUIs. Facilitates generating user actions and examining component state. Supports recording and playback on any Java application.

0USERS

ORMUnit is a JUnit extension that simplifies the development of tests for a Hibernate-based persistence layer. It provides a set of abstract base classes that extend JUnit TestCase. ORMUnit was first described in the book POJOs in Action.

0USERS

Macro tasks for invoking mxmlc and compc Ready made templates for application projects and library projects A robust system for importing and exporting assets from one project to another A solid way to compose projects inside container projects ... [More] Dependency checking on sources and libraries to avoid unneeded recompilation Handling for HTML page token substitution and web app deployment Automated unit test integration with Flexunit Getting Started Guide [Less]

0USERS

Allow JUnit tests to run in parallel for better CPU utilization.

0USERS

FlexUnit is a unit testing framework for Flex and ActionScript 3.0 applications and libraries. It mimics the functionality of JUnit, a Java unit testing framework, and comes with a graphical test runner. As of August 20, 2008, FlexUnit will no ... [More] longer be actively developed on Google Code. It is now being maintained at: http://opensource.adobe.com/wiki/display/flexunit/ [Less]

0USERS

IntroductionL'API ObjectServer permet d'échanger des objets Java entre plusieurs applications. L'architecture est basée sur la nouvelle librairie d'entrées/sorties (nio) de Java permettant ainsi une meilleure montée en charge (scalable) que les ... [More] systèmes utilisant l'api io standard. ContactVous pouvez me contacter à sebastien_288@yahoo.fr pour toutes questions/problèmes ou suggestions. Si vous utilisez cette librairie, n'hesitez pas à me laisser vos remarques et commentaires. FonctionnalitésEntrées / Sorties asynchrones avec la librairie (nio) Echange d'objets java sur des connections TCP/IP (mécanisme de sérialisation et dé-sérialisation) Possibilité d'activer des communications sécurisées avec le protocole SSL Possibilité de compresser les données transmises sur le réseau avec l'algorithme GZip Possibilité de connections entre services locaux (au sein d'une même VM), évitant sérialisation & transport réseaux Instrumentation possible grâce au support de JMX Empreinte mémoire restreinte, pas d'allocation mémoire spécifique à une connection (sauf pour les écouteurs) Gestion fine des threads (nombre de threads indépendant du nombre de connections) Mise en queue des demandes d'écriture (pas de rétention lors d'une écriture) Empilable, plusieurs services peuvent cohabiter au sein de la même JVM et se partager l'accés aux threads d'executions. Diagramme de classes (vue simplifiée) [Less]

0USERS

Mocquer is a unit testing tool to mock interface/class. It extends the functions of EasyMock -- A mock tool that can create mock object for the given interface. Based on Dunamis project, Mocquer can generate mock object for both interface and class.