[Koha-bugs] [Bug 13849] Introduce acceptance tests with cucumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 10 15:53:13 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13849

--- Comment #11 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 40070
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40070&action=edit
Cucumber test suite Vaara-style

I discussed with Oslo about how to best organize these Cucumber tests.
They hinted that we should use Page object pattern to do these
Cucumber/Selenium tests.
Which is a jolly good idea!
I haven't had time to do any of those Page Object Pattern-driven objects for
hiding ugly implementation specifics for web-crawling.

I also have some new features in production utilizing Cucumber tests and I
started to encounter some test structuring issues.
So I cooked up a better way to organize the test components.
See testsStructuring.tutorial in the .tar.gz
This is 100% compatible with the runCucumberTests.t-script and IMHO makes for a
much more beautiful code structuring than the way of doing things in the Perl
documentation for Cucumber.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list