-
1. Re: Arquillian <-> JavaScript integration module status?
lfryc Jul 9, 2012 5:35 AM (in response to marco.rietveld)Hey Marco,
this scenario is pretty much what is planned in Arquillian side-project for JavaScript testing:
- Arquillian deploys micro-deployment
- (in your case with REST services)
- Drone provides Selenium-backed browser
- (replacing HTMLUnit in your case)
- JavaScript integration starts unit-test (QUnit, Jasmine, ...) inside the browser
- JavaScript integration reads the results and reports to JUnit
This JavaScript integration is completely driven by JavaScript and unit-test frameworks, it means no need to write Java code in order to run test.
Chaitanya Nalla will be starting this project in a month, but if you would like to help to shape this extension, you are more than welcome!
--
There is second option planned [1] to achieve similar:
- interface for calling JavaScript from Java
- such as QUnit/Jasmine test functions
--
Additionally both approaches should effectively allow you to drive Warp and client/side server assertions, something what may be interesting for you as well.
http://arquillian.org/blog/2012/05/27/arquillian-extension-warp-1-0-0-Alpha1/
- Arquillian deploys micro-deployment
-
2. Re: Arquillian <-> JavaScript integration module status?
marco.rietveld Jul 12, 2012 6:15 AM (in response to lfryc)Hi Lukas,
Great! I look forward to testing Chaitanya's work. Unfortunately, I have too many other priorities and projects to actively contribute to the extension, although I expect to submit some jira's, if that's any help.
I'm trying to get more tests into the jBPM Designer (http://www.jboss.org/jbpm/components/designer, https://github.com/tsurdilo/process-designer).
Thanks also for pointing out Warp -- that will also be a big help.
Lastly, I was looking for an embedded container jax-rs + ejb test example, but haven't been able to find one. If I get a simple one running, would the arquillian-examples repository be the right place to submit a pull request with it to?
-
3. Re: Arquillian <-> JavaScript integration module status?
lfryc Jul 17, 2012 8:17 AM (in response to marco.rietveld)Hey Marco,
there are some separated samples for JAX-RS and EJB here: