JUnitTestClassProcessorTest.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

    • -297
    • +0
    ./JUnitTestClassProcessorTest.groovy
  1. … 124 more files in changeset.
Improved test filtering for Junit classes that use a Runner that is not also Filterable.

    • -0
    • +25
    ./JUnitTestClassProcessorTest.groovy
  1. … 3 more files in changeset.
Revert "update spec with implementation for test execution via tooling-api"

  1. … 30 more files in changeset.
Added support for test exclusion in TestFilter

+review REVIEW-5489

  1. … 14 more files in changeset.
Inject a `TimeProvider` into the various test processors and result handlers that need to take timestamps.

  1. … 7 more files in changeset.
GRADLE-2841 Removed unused fields

  1. … 5 more files in changeset.
GRADLE-3114 - don't eagerly load JUnit test classes.

  1. … 4 more files in changeset.
Fixed junit test execution under java 5.

  1. … 2 more files in changeset.
Reworked the test selection dsl and implementation for simplicity and for much easier appliance of --only command line option.

  1. … 16 more files in changeset.
Single test method execution - the test / class matching is now based on simple glob than on regexp. This way it is more user friendly and also avoids some problems with regexps.

  1. … 9 more files in changeset.
Made jUnit test selection support class name pattern and method pattern. TestNG will follow soon.

    • -11
    • +27
    ./JUnitTestClassProcessorTest.groovy
  1. … 6 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.

    • -5
    • +19
    ./JUnitTestClassProcessorTest.groovy
  1. … 16 more files in changeset.
Rename job

    • -98
    • +98
    ./JUnitTestClassProcessorTest.groovy
Checkstyle

  1. … 1 more file in changeset.
Added lower level integ test coverage for JUnit single test method execution

    • -1
    • +27
    ./JUnitTestClassProcessorTest.groovy
  1. … 2 more files in changeset.
Reworked jmock -> spock. 1000 lines into 200 lines. Beautiful.

    • -934
    • +143
    ./JUnitTestClassProcessorTest.groovy
  1. … 1 more file in changeset.
Added rudimentary support for single method execution. The current dsl looks like this:

test.selection.includeMethod 'someTestMethod'

More work is pending.

  1. … 8 more files in changeset.
cleanup some test related classes; remove unused properties, ctor parameters; name JUnitSpec property spec instead of option

  1. … 4 more files in changeset.
GRADLE-2111: emit warning if used categories are configured, but not supported by selected junit version

  1. … 6 more files in changeset.
Merge pull request 114 (treat tests with assumption failures as skipped)

    • -2
    • +43
    ./JUnitTestClassProcessorTest.groovy
  1. … 4 more files in changeset.
GRADLE-2484 / REVIEW-877 move logic for calculating ignored test descriptions into seperate class; Add bit more coverage

    • -3
    • +17
    ./JUnitTestClassProcessorTest.groovy
  1. … 2 more files in changeset.
Some renaming and cleanup around the test/temp directory used in tests.

    • -22
    • +14
    ./JUnitTestClassProcessorTest.groovy
  1. … 308 more files in changeset.
Add unit test coverage for JUnit assumption handling

    • -0
    • +40
    ./JUnitTestClassProcessorTest.groovy
REVIEW-841: Change handling of @Ignored marked Testclasses: - Generate result information (skipped) for each single test method - TestReportDataCollector does not need to care about this - A side effect of this fix is a fix for GRADLE-2484.

    • -0
    • +11
    ./JUnitTestClassProcessorTest.groovy
  1. … 3 more files in changeset.
Moved IdGenerator and implementations from core to baseServices.

  1. … 53 more files in changeset.
Tightened up the thread safety in the junit result processor chain, by wrapping the whole thing as a blocking actor.

  1. … 6 more files in changeset.
Better handle a broken JUnit test Runner, so that the failures end up in the test results, rather than as a nasty stacktrace on the console: - If a failure happens instantiating the Runner, or during Runner.run() and no tests are running, then add a synthetic broken 'initializationError' test. - If a failure happens during Runner.run() and some tests are running, then attach the failure to those tests. - Extracted TestClassExecutionEventGenerator our of JUnitTestClassExecuter, and did some renaming.

    • -0
    • +108
    ./JUnitTestClassProcessorTest.groovy
  1. … 10 more files in changeset.
Resurrected a test that apparently is useful :)

    • -0
    • +38
    ./JUnitTestClassProcessorTest.groovy
Removed one of the old tests that didn't prove anything useful at all but it was making it problematic to run the test with IDEA (frozen test execution).

    • -32
    • +0
    ./JUnitTestClassProcessorTest.groovy
Removed one of the old tests that didn't prove anything useful at all but it was making it problematic to run the test with IDEA (frozen test execution).