Re: Integration testing for Wonder
Re: Integration testing for Wonder
- Subject: Re: Integration testing for Wonder
- From: David Avendasora <email@hidden>
- Date: Wed, 29 Apr 2015 14:00:36 -0400
> On Apr 29, 2015, at 12:55 PM, Fabian Peters <email@hidden> wrote:
>
> 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.
There are a lot of non-D2W people out here - D2JC, JSON, Single-Page-App, even standard Web! But if you have a vision beginning with Direct-to-Web, then that’s a great place to start.
> 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!
I have done quite a bit with using JUnit to run Selenium tests completely outside the EOF (specifically: NOT WOUnit) using WebDriver. Doing it without EOF does limit some of the tests you can do or makes them harder to write, but if what you want to do is test workflows used by a human, then it works very well.
> 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.
Sounds great and is one less thing for Pascal to have to deal with!
> Any thoughts?
Thanks for volunteering? :-)
> Fabian
>
> * Dave, rest assured we'll still be able to beer-review pull requests manually!
Nice! I do like how accepting we are as a community. There room enough for both manual and automated beer-review, and I’ll admit, I am Otto-curious.
I mean Auto! AUTO!
Dave
—————————————————————————————
WebObjects - so easy that even Dave Avendasora can do it!™
—————————————————————————————
David Avendasora
Senior Software Abuser
Nekesto, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden