DefaultTestClassScannerTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix bad merge of test class change

Try to execute unparseable test class files

Instead of failing the build when a test class file cannot be parsed,

e.g. if it's compiled for a JVM that is not yet supported by the

version of ASM that we use, we now assume it's a test class and pass

it to the testing framework which usually ignores classes that are not

tests.

Related issue: #7059

    • -12
    • +19
    ./DefaultTestClassScannerTest.groovy
  1. … 6 more files in changeset.
Try to execute unparseable test class files

Instead of failing the build when a test class file cannot be parsed,

e.g. if it's compiled for a JVM that is not yet supported by the

version of ASM that we use, we now assume it's a test class and pass

it to the testing framework which usually ignores classes that are not

tests.

Related issue: #7059

    • -14
    • +17
    ./DefaultTestClassScannerTest.groovy
  1. … 6 more files in changeset.
Fix mock call verification order

Spock 1.2 fixed a bug wrt. mock invocation order of nested invocations.

The order that's tested now is the one in which the mocks are actually

called.

  1. … 1 more file in changeset.
Exclude anonymous class in JUnit Platform (#4774) (#4815)

This fixes https://github.com/gradle/gradle/issues/4544 https://github.com/gradle/gradle/issues/4618

Previously we send anonymous class to JUnit Platform test worker, which caused some issues.

Now they're excluded by name pattern .*\$\d+

    • -2
    • +22
    ./DefaultTestClassScannerTest.groovy
  1. … 1 more file in changeset.
Revert "Exclude anonymous class in JUnit Platform (#4774)"

This reverts commit abeb7ebb9e3cb17c826ad40caac6a54480beccad.

    • -22
    • +2
    ./DefaultTestClassScannerTest.groovy
  1. … 3 more files in changeset.
Exclude anonymous class in JUnit Platform (#4774)

This fixes https://github.com/gradle/gradle/issues/4544 https://github.com/gradle/gradle/issues/4618

Previously we send anonymous class to JUnit Platform test worker, which caused some issues.

Now they're excluded by name pattern .*\$\d+

    • -2
    • +22
    ./DefaultTestClassScannerTest.groovy
  1. … 3 more files in changeset.
Improves --tests pattern matching (#4597)

We improve test pattern matching in this PR. From this PR, the test pattern matching

rule are adjusted:

- If a pattern starts with an upper-case letter, it will be used to match simple class name

e.g 'TestClass.testMethod' can match 'TestClass.testMethod' under any package.

- Otherwise, it will be used to match full qualified name.

In both cases, wildcards are supported.

  1. … 12 more files in changeset.
Convert DefaultTestClassScanner from JMock to Spock

    • -58
    • +55
    ./DefaultTestClassScannerTest.groovy
Start migrating test classes to the most appropriate subproject

Story: gradle/langos#103

Item: refactor-plugins

    • -0
    • +58
    ./DefaultTestClassScannerTest.groovy
  1. … 124 more files in changeset.