[Koha-devel] Browser-based tests

Magnus Enger magnus at enger.priv.no
Tue Mar 31 11:14:36 CEST 2015


On 17 March 2015 at 11:06, Jonathan Druart <jonathan.druart at biblibre.com> wrote:
> Hello devs,
>
> A (very) quick email to let you know I have submitted patches on
>  bug 13691 - Add some selenium scripts
> and
>  bug 13849 - Introduce acceptance tests with cucumber
>
> I would like to start a discussion on these subjects: selenium,
> cubumber, browser-based tests, acceptance tests, etc.
> What are you opinions? Should we stuck to Test::WWW::Mechanize or it's
> worth to have a look somewhere else?
>
> Useless ? Worth a try ? Very useful ?

I think integration/acceptance tests would be very, very useful. Unit
tests at the level of individual subroutines are awesome, of course,
but some automated way of telling if things are working on a higher
level would definitely be a good thing.

I have been a fan of Test::WWW::Mechanize, but with our increasing
reliance on JS and AJAX, I think something that can work with those
things too are a necessity. I don't have strong opinions on what tools
we should use, though.

Best regards,
Magnus
libriotech.no


More information about the Koha-devel mailing list