itest-scenario

Java ITest Framework is designed to simplify unit testing to minimum. You define tests by providing initial data and expected result data. The test data are placed just in your source code you want to test, as java annotations.

License

License

GroupId

GroupId

org.itest
ArtifactId

ArtifactId

itest-scenario
Last Version

Last Version

1.5.0
Release Date

Release Date

Type

Type

jar
Description

Description

itest-scenario
Java ITest Framework is designed to simplify unit testing to minimum. You define tests by providing initial data and expected result data. The test data are placed just in your source code you want to test, as java annotations.
Project URL

Project URL

https://github.com/ggkochanski/itest/

Download itest-scenario

How to add to project

<!-- https://jarcasting.com/artifacts/org.itest/itest-scenario/ -->
<dependency>
    <groupId>org.itest</groupId>
    <artifactId>itest-scenario</artifactId>
    <version>1.5.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.itest/itest-scenario/
implementation 'org.itest:itest-scenario:1.5.0'
// https://jarcasting.com/artifacts/org.itest/itest-scenario/
implementation ("org.itest:itest-scenario:1.5.0")
'org.itest:itest-scenario:jar:1.5.0'
<dependency org="org.itest" name="itest-scenario" rev="1.5.0">
  <artifact name="itest-scenario" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.itest', module='itest-scenario', version='1.5.0')
)
libraryDependencies += "org.itest" % "itest-scenario" % "1.5.0"
[org.itest/itest-scenario "1.5.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.itest : itest-engine jar 1.5.0
org.springframework : spring-context jar 2.5.6.SEC03

Project Modules

There are no modules declared in this project.

Java ITest Framework

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.

Simple usage example :

@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}
    }
}

Simple Example execution:

    Assert.assertEquals("", executor.performTestsFor(SimpleExample.class));

For more details visit ITest project Wiki page.

Versions

Version
1.5.0
1.4.2
1.4.0
1.3.3
1.3.2
1.3.1