Jice is an (excellent) lightweight dependency injection framework now embedded into JTestCase.
Using Jice it is possible to seamlessly inject into JTestCase arbitrary graphs of Java objects such as :
JTestCase is a 100% pure Java, open-source microframework that helps in separating test case data from test case units.
JTestCase embodies the concept of a TestCase. A TestCase can be seen as
combination of one (or more) assert for a specific set of input parameters.
The introduction section explains this concept with further details.
To achieve this goal JTestCase provides:
Please read the getting started section to get started using JTestCase.Note that although the following examples show JTestCase used together with junit, JTestCase has no dependence on junit itself.
The most important feature of this release is Jice integration.
Please read the site documentation on the sidebar.
JTestCase 3.1.0 aims to simplify the use of JTestCase while relinquishing to none of the JTestCase previous features.
JTestCase 3.1.0 is a milestone release. It introduces a limited, but significant, number of changes in the API. The main enhancement areas are:
As stated before, JTestCase 3.0.0 and previous users will find some changes in the API.
Porting your test cases to the new version should be straightforward in most cases, and will bring you the benefits of the new features.
|Old package declaration||New package declaration|