Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.19 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.19 KB

Java ITest Framework is designed to unit testing by data (without additional source code). Oriented on re-usage of test data definitions. Applicable for shallow (dynamic proxies) or deep (selected implementations) tests. You define tests by composing initial data and expected result data.

Understanding the scope of source code change at early stage is a key of effective product quality management.

@ITests(@ITest(name="test1", init = "A:[3,16]", verify = "R:19"))
public int sum(int a, int b) {
    return a + b;
}

or by external file:

sum(*):{
    test1:{
        init:{
            A:[3,16]
        },
        verify:{R:19}
    }
}
    Assert.assertEquals("", executor.performTestsFor(SimpleExample.class));

For more details visit ITest project Wiki page.