Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[TW-1936] Tweak tests to have fuller TAP compliance #1948
Paul Fenwick on 2017-11-26T23:50:35Z says:
I almost cried with joy when I discovered that TaskWarrior uses TAP for testing, but after running [prove|https://metacpan.org/pod/prove] I discovered there's a couple of places where it departs from the [TAP specification|https://testanything.org/tap-specification.html].
In particular, for the python code:
In both python and C++:
The soon-to-be-added patch¹ adds more TAP compliance to the TaskWarrior test-suite, meaning one can do cool things like
¹ I have a working patch, but I'm checking my python changes for best-practice, since that's the language I'm least skilled in.
Paul Fenwick on 2017-11-27T01:41:28Z says:
Patches added, targeting 2.6.0. Things to note:
Feedback very welcome! I'm a daily user of TAP, but not a daily user of C++ and python. :)
Paul Beckingham on 2017-12-02T17:21:45Z says:
While I like the patch (0001), it changes the summary reporting from this:
Edit: Perhaps I should have tested 0002 before commenting.