Closes #794

Test Framework TestNG runner

Useful for running the test framework tests as live tests on the project.

>From the test included in the PR, example usage:
```
    TestFrameworkSuiteBuilder.create()
            .test()
                
.prerequisiteResource("test-framework-examples/simple-catalog.bom")
                
.prerequisiteResource("test-framework-examples/simple-catalog.locations.bom")
                
.testResource("test-framework-examples/simple-catalog.tests.bom")
                .location("simple-entity-dummy")
                .add()
            .buildProvider();
```


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/2d7f63ff
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/2d7f63ff
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/2d7f63ff

Branch: refs/heads/master
Commit: 2d7f63ff07cb059d525d34c706215ede02e8dc53
Parents: 6c3b0fe c91d758
Author: Geoff Macartney <geoff.macart...@cloudsoftcorp.com>
Authored: Mon Aug 7 10:51:33 2017 +0100
Committer: Geoff Macartney <geoff.macart...@cloudsoftcorp.com>
Committed: Mon Aug 7 10:51:33 2017 +0100

----------------------------------------------------------------------
 test-framework/pom.xml                          |  13 +
 .../framework/live/TestFrameworkLiveTest.java   | 131 +++++++
 .../test/framework/live/TestFrameworkRun.java   | 136 +++++++
 .../live/TestFrameworkSuiteBuilder.java         | 354 +++++++++++++++++++
 .../framework/yaml/SimpleTestFrameworkTest.java |  51 +++
 .../test-framework-examples/simple-catalog.bom  |  35 ++
 .../simple-catalog.locations.bom                |  32 ++
 .../simple-catalog.tests.bom                    |  36 ++
 8 files changed, 788 insertions(+)
----------------------------------------------------------------------


Reply via email to