This section contains the Overview of Some Integration and functional testing Tools of JUnit.
Overview of Some Integration and functional testing Tools
Jitr(JUnit Integration Test Runner)
Jitr is the integration test runner of JUnit. It allows your web application integration tests to easily run against a lightweight web container in the same JVM as your tests.
It improves your integration testing by providing following features :
- Integration
If you are running your unit tests from Ant, Maven, or some IDE, you can also run your integration Test by the same IDE or builder tool.
- Providing unique port for continuous integration
Jitr assigns a random, unused port for your container for continuous integration.
-
In-memory database access :
Manage an in-memory database that your web application has created.
- Context sharing in Spring
Share the same Spring application context and beans as your web application.
- Runtime flexibility
Switch containers and Spring application context configurations at runtime for robust and complete integration tests.
- Extensibility :
Use one of Jitr's wrappers around your favourite container or easily write and use your own.
JFunc: JUnit Functional Testing Extension
JFunc is an extension to the JUnit framework. It is used for functional testing.
The current features that JFunc has to offer are the following :
-
Multiple failures
-
Easing the pains of Manual Suite Construction
> Concise, typesafe, suite construction using proxies.
>Use one test object for a series of tests, rather than the one test instance per test.
>Test methods can accept arguments
-
Enhanced Test Runner
>Verbose assertions
> Pass Arguments to the Suite Constructor
[ 0 ] Comments