Add optional checkname field to the TAP's YAML section
ClosedPublic

Authored by jskladan on Apr 7 2015, 2:19 PM.

Details

Summary

As discussed in T446, we want to be able to have a single test report results for multiple checks
(e.g. rpmgrill). Adding checkname field to the CheckDetail, and then handling it properly in
import/exportTAP and the resultsdb reporting will allow us to do so.

Test Plan

Added unittests

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jskladan retitled this revision from to Add optional checkname field to the TAP's YAML section.Apr 7 2015, 2:19 PM
jskladan updated this object.
jskladan edited the test plan for this revision. (Show Details)
jskladan added reviewers: kparal, tflink, mkrizek.
kparal accepted this revision.Apr 7 2015, 3:18 PM

LGTM

libtaskotron/check.py
84–88

In order to stay consistent in terminology, maybe this could be adjusted?
result -> either outcome or more probably CheckDetail (?)
non needed -> not needed
tasks metadata -> task metadata or task's metadata
single test -> single task

This revision is now accepted and ready to land.Apr 7 2015, 3:18 PM
jskladan updated this revision to Diff 897.Apr 7 2015, 3:26 PM
  • added tests for check.py
jskladan updated this revision to Diff 898.Apr 7 2015, 3:29 PM
  • fixed terminology according to review
tflink accepted this revision.Apr 7 2015, 4:05 PM
mkrizek accepted this revision.Apr 8 2015, 6:11 AM
Closed by commit rLTRNf355f23e56e7: Add optional checkname field to the TAP's YAML section (authored by Josef Skladanka <jskladan@redhat.com>). · Explain WhyApr 8 2015, 1:08 PM
This revision was automatically updated to reflect the committed changes.