Hi all,

At WOWODC I spoke with some people about setting up integration tests for 
Wonder. Since I mostly use D2W, I'd suggest to take ERModernMoviesDemo as the 
starting point. This can run on H2 in-memory and thus exercise D2W, Ajax, 
standard WOComponents and EOF. An additional candidate may be the AjaxExample 
to have explicit tests for the Ajax components. The actual test app(s) would 
then live in the "Tests" directory, apart from the demos.

Now, there aren't as many functional testing frameworks as there are 
JS-frameworks, but still… Personally I've experience with Selenium 
IDE/WebDriver and Cucumber/Capybara/PhantomJS. If any of you have experience 
with these or other tools, please share!

To actually run the integration tests, we need to start the test application 
and have the test framework connect to it. And we'll want pretty pictures and 
possibly alerts when things break. Instead of using the community jenkins 
server, it may be easier to use services like <https://travis-ci.org> and/or 
<https://saucelabs.com>. Both are free to use for open source projects and 
offer integration with github, e.g. to automate testing of pull requests* 
before merging them.

Any thoughts?

Fabian

* Dave, rest assured we'll still be able to beer-review pull requests manually!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to