TestNGTestFrameworkTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Start migrating test classes to the most appropriate subproject

Story: gradle/langos#103

Item: refactor-plugins

  1. … 124 more files in changeset.
Make DirectInstantiator a singleton.

  1. … 89 more files in changeset.
Moved validation of TestNG `configFailurePolicy` from the test processor to the test framework. This means the task will fail early when the requested policy is not supported, rather than attempting to start workers and run tests.

  1. … 4 more files in changeset.
GRADLEREV-15 - test fixes.

Reworked the fine test selection DSL according to feedback / discussion.

  1. … 20 more files in changeset.
Some work with single test execution DSL. Renamed 'selection' -> 'filter'.

  1. … 11 more files in changeset.
Reworked the single test method execution so that the test framework receives a test class + test method spec. This is needed to provide decent command line support later on.

  1. … 16 more files in changeset.
renamed HelperUtil to TestUtil (REVIEW-1626)

  1. … 145 more files in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

  1. … 1213 more files in changeset.
Enable test report as a default for TestNG - move more report logic from Test to DefaultTestReport - dont care about testreport flag in TestNGTestFrameworkProcessor (REVIEW-841)

  1. … 9 more files in changeset.
Use new XML generation as a default in TestNG - always generate xml output (REVIEW-841) - move report handling from TestFramework to Test

  1. … 15 more files in changeset.
Spockified / tidied up the coverage for TestNGTestFramework.

It seemed a reasonable approach to replace mock frenzy with more targetted and reasonable coverage, focused on logic that is interesting to test.

    • -0
    • +93
    ./TestNGTestFrameworkTest.groovy
  1. … 5 more files in changeset.