Would you provide a working example that shows the output in TAP? | [reply] |
$ swat examples/google/ google.ru
/home/vagrant/.swat/reports/google.ru/00.t ..
# start swat for google.ru//
# try num 2
ok 1 - successfull response from GET google.ru/
# data file: /home/vagrant/.swat/reports/google.ru///content.GET.txt
ok 2 - GET / returns 200 OK
ok 3 - GET / returns Google
1..3
ok
All tests successful.
Files=1, Tests=3, 12 wallclock secs ( 0.00 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.02 CPU)
Result: PASS
And the are more on https://github.com/melezhik/swat/tree/master/examples
| [reply] |
OK, for some reason you were making me think I had to convert JUnit to TAP. Your docs are very confusing. Please consider having someone who speaks English rewrite them for you. However, I still see zero reason to use this module. Seriously, it is quite pointless. If you do not understand this then you have not been testing for very long. Most people who are inexperienced in testing reinvent wheels that are already invented. There are a plethora of Testing modules out there on the CPAN. I for one do not appreciate you adding more noise to the signal.
| [reply] |