RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix for changes to validation in test fixture.

    • -5
    • +6
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 1 more file in changeset.
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

    • -5
    • +6
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 81 more files in changeset.
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

    • -5
    • +6
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 11 more files in changeset.
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

    • -5
    • +6
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 11 more files in changeset.
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

    • -5
    • +6
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 11 more files in changeset.
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

    • -5
    • +6
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 81 more files in changeset.
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

    • -5
    • +6
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 81 more files in changeset.
Simplify tests that look for rich content in the console output.

    • -6
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 16 more files in changeset.
Simplify tests that look for rich content in the console output.

    • -6
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 16 more files in changeset.
Simplify tests that look for rich content in the console output.

    • -6
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 13 more files in changeset.
Simplify tests that look for rich content in the console output.

    • -6
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 16 more files in changeset.
Simplify tests that look for rich content in the console output.

    • -6
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 16 more files in changeset.
Simplify tests that look for rich content in the console output.

    • -6
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 16 more files in changeset.
Simplify tests that look for rich content in the console output.

    • -6
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 16 more files in changeset.
Simplify tests that look for rich content in the console output.

    • -6
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 13 more files in changeset.
Remove some duplication from the logic that sets up logging to the console.

Also simplify some of the console functional tests.

    • -7
    • +8
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 25 more files in changeset.
Remove some duplication from the logic that sets up logging to the console.

Also simplify some of the console functional tests.

    • -7
    • +8
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 26 more files in changeset.
Remove some duplication from the logic that sets up logging to the console.

Also simplify some of the console functional tests.

    • -7
    • +8
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 26 more files in changeset.
Remove some duplication from the logic that sets up logging to the console.

Also simplify some of the console functional tests.

    • -7
    • +8
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 26 more files in changeset.
Remove some duplication from the logic that sets up logging to the console.

Also simplify some of the console functional tests.

    • -7
    • +8
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 26 more files in changeset.
Remove some duplication from the logic that sets up logging to the console.

Also simplify some of the console functional tests.

    • -7
    • +8
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 26 more files in changeset.
Remove some duplication from the logic that sets up logging to the console.

Also simplify some of the console functional tests.

    • -7
    • +8
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 26 more files in changeset.
Remove some duplication from the logic that sets up logging to the console.

Also simplify some of the console functional tests.

    • -7
    • +8
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 25 more files in changeset.
Add assertRawErrorOutput method to execution result fixtures

    • -4
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 5 more files in changeset.
Fix issue where tasks have broken output when other tasks complete

    • -0
    • +52
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 2 more files in changeset.
Make rich/verbose consoles behave similar to plain when streams are not attached

    • -4
    • +9
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 24 more files in changeset.
Introduce a test runner for the various console configurations

    • -5
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 64 more files in changeset.
Change plain console to join stdout/stderr only when console is attached

    • -0
    • +4
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 37 more files in changeset.
Split CodeNarc configuration for integration tests

Now that there are rules specific to integration tests, we have a dedicated

configuration file. This should avoid some accidental noise, and removes

the need to check for `Integration` in the test name, which helped discover

a few more problems.

    • -0
    • +1
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 7 more files in changeset.
Fix some minor issues with the rich console

We now always print a task header when:

- we have already rendered output but the task status changes

- a task has failed, whether it has rendered output or not

    • -0
    • +16
    ./RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
  1. … 2 more files in changeset.