Java ITest Framework

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
Last Version

Last Version

1.5.0
Release Date

Release Date

Type

Type

pom
Description

Description

Java ITest Framework
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/
Source Code Management

Source Code Management

https://github.com/ggkochanski/itest

Download itest

Filename Size
itest-1.5.0.pom 3 KB
Browse

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • itest-annotation
  • itest-iface
  • itest-util
  • itest-json-simple-parser
  • itest-engine
  • itest-scenario

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.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.2