BANGALORE, INDIA: Unit testing is a practice that developers use to test their code modules in isolation to make sure that each module does what it's supposed to. JUnit is an Open Source framework which helps in unit testing, specifically coded on the Java platform. Developers just have to determine the test cases and create JUnit tests for their code modules.
In a typical setup, developers don't prefer this added burden of unit-testing on their shoulders, as they feel that this should be done by the testing division. They often overlook the benefits of doing unit-testing at developmental stage, because it requires too much work. This used to make it extremely difficult to convince developers to do unit-testing at their end.
| Direct Hit! |
Applies To: Java developers
USP: JUnit generation and code-rule enforcement
Price: $50,000 per year
Primary Link: www.agitar.com/
products/downloads/
Keywords: AgitarOne |
Now, there's a tool that has been introduced by Agitar, called Agitar One, which creates JUnit tests automatically for code modules and also prepares the test cases for them. This significantly reduces the time required for unit testing, enabling an organization to convince its developers to take up the job.
AgitarOne steps in
As we mentioned, AgitarOne is a unit-testing software for enterprises who are engaged in Java-based development. Project managers can use it at developmental stage so that their developers can implement unit-testing.
It is a server-based model and can execute through the code modules to test how the given code will perform under normal as well as exceptional conditions. AgitarOne relieves the developer by generating several test-cases for code modules, even for those code patterns which developers find tedious to create the JUnit tests for and normally skip when doing the task, manually.
Once a module is put under test creation, AgitarOne reads through the code, creates the test on-the-fly and generates the report based on the results, observing which lines of code were executed and which lines were excluded. Any anomalies in the code can easily be caught from these reports.
 |
|
Agitar's dashboard gives an overall summary of the project and detailed reports on each class and its risk-analysis
|
The test values that AgitarOne uses are based on random generation of values for variables and functions. When any test fails, AgitarOne reports the sequence of functions and values passed to them so that a developer may trace through the code to evaluate the reason why a particular code couldn't handle the value, as per expectation. Like this, quality can be ensured for a code module right from the development process.