I've been working quite closely with one of the testers who's written a test suite using Selenium. He had initially wrote a single gradle task for each browser.
As i hope you can see its a little clunky:
So, I set out to make this more flexible and minimize the amount of code in the build file. Using rules which are provided by the Gradle API I was able to write the following task:
Now all thats required is "gradle intTestChrome" or "gradle intTestFirefox".... perfect!
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment