Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Job Run Mode

Test Specification

β€˜Given’ section

Test Specification

'When' section

Test Specification

β€˜Then’ section

Description

Normal

Ignored

Job is executed normally with MettleCI no test harness intervention.

Unit Test Interception

βœ… Specified

βœ… Specified

βœ… Specified

? Empty

βœ… Specified

βœ… Specified

Fail?

⛔️ Specifies non-existent files

βœ… Specified

βœ… Specified

βœ… Specified

βœ… Specified

? Empty

Fail?

βœ… Specified

βœ… Specified

⛔️ Specifies non-existent files

Re-baseline’s expected test output. See Capturing a Baseline Test Result.

Unit Test Execution

βœ… Supplied

βœ… Supplied

βœ… Supplied

⛔️ Empty

βœ… Supplied

βœ… Supplied

No input test data specified so the Job’s normal input operations are permitted to read from upstream data sources. Output is compared to an expected output test data file. See an example here.

βœ… Supplied

βœ… Supplied

⛔️ Empty

Input test data is injected into your jobs but no output test data is supplied for comparison so the Job’s normal output operations are permitted to write to downstream data stores. No output comparison is performed.

Test specification

...

patterns

Include Page
Common Unit Testing Patterns
Common Unit Testing Patterns