CheckDetail's export_TAP now adds the proper TAPv13 headers.
Details
Tests changed accordingly
Diff Detail
- Branch
- feature/T120
- Lint
No Linters Available - Unit
No Unit Test Coverage
overall, it looks OK to me. Just a couple of small concerns
libtaskotron/check.py | ||
---|---|---|
315 | Can you expand this a bit more to make it more readable? Maybe initialize tapout as ['TAP version 13', '1..%d' % len(check_details)]? I just find this line a bit difficult to parse. If I'm missing something and there's no reasonable way to make the header addition more clear, adding a comment explaining why those two lines are being added would be acceptable | |
testing/test_check.py | ||
202 | This is more of a general concern I hit elsewhere in the code. I'd like to see all variables named tap renamed - it causes confusion with the bayeux module. Yes, I can figure out that this is not the tap module pretty quickly but it still takes longer to parse than it should and could lead to confusion |
- cleaned up TAP headers to be a bit more readable
- changed incidences of tap to something else to reduce potential confusion with tap module
- changing resultsdb directive code to create and complete resultsdb job during the reporting process
Sorry for the noise, when I tried to create a review for D70 the diff ended up going to this review instead
I botched the push a little bit and phabricator isn't autoclosing the review as resolved. This was resolved with rLTRNff41db8250e6
Please adjust the example - prepend it with: