in reply to swat on CPAN

"Swat produce output in TAP format .."

What if I do not want my output in TAP format? Would it not be better to make that optional? If it currently is optional then you should reword your documentation to reflect this.

Replies are listed 'Best First'.
Re^2: swat on CPAN
by melezhik (Monk) on Jul 17, 2015 at 18:12 UTC
    Which format do you want? The pros of tap format that it may be converted to other ones, there are some modules on perl to do this. Yes tap is not optional, but give me a use case for other way and I will think about it ...
      Are you for realz?
      prove --formatter TAP::Formatter::JUnit ...
      I for one wish you had not uploaded this. Just because it works for you does not mean it works for others, or that others should abandon their current best practices to use something like this. Are you even aware of Plack/PSGI? This kind of testing that you present is deprecated.

        That is exactly what swat does - it calls prove with parameters: swat directory host prove-parameters Like for your example: swat directory host --formatter TAP::Formatter::JUnit

        If no prove parameters are given swat just call prove as is and then we have tap output.

        Sorry, did not understand your idea about plack/psgi , could you please explain ?