itest-annotation

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

Last Version

1.5.0
Release Date

Release Date

Type

Type

jar
Description

Description

itest-annotation
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-annotation

How to add to project

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

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