in reply to Re: swat on CPAN
in thread swat on CPAN

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 ...

Replies are listed 'Best First'.
Re^3: swat on CPAN
by Anonymous Monk on Jul 17, 2015 at 18:27 UTC
    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 ?
        So how does one disable --formatter TAP::Formatter::JUnit? Would you provide a usage example that shows this being disabled?