Skip to content

Draft: test blocks in expectation files

Following the request ci-uprev#51, those blocks in the expectation files must be managed by this tool. So, when ci-uprev uses collate as a library, this issue will be solved. Having first this feature in collate.

Features:

  • add new test results to an expectation file
  • remove test results from an expectation file
  • remove the last test from a block, removes the block completely (comments and spacers)
  • Provide a way to introduce a header when add new test results (a new block)
  • When new test results are added, sort them alphabetically (easy to later find patterns)
  • When new test results with a header are added, if there is a block with this header add (alphabetically) to this block.

Depends on: !24 (closed), !23 (merged), !22 (merged), and !26 (merged)

Edited by Sergi Blanch Torné

Merge request reports