Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start embedded jetty before running End2End tests #3

Closed
ikostenko opened this issue Oct 11, 2012 · 4 comments
Closed

Start embedded jetty before running End2End tests #3

ikostenko opened this issue Oct 11, 2012 · 4 comments
Milestone

Comments

@ikostenko
Copy link
Member

No description provided.

@ghost ghost assigned max-dev and aliubunia Oct 11, 2012
@aliubunia
Copy link
Member

For some reason Jetty8x embedded container in Cargo does not properly register JSTL namespaces/libs. Thus in this mode the demo app is not functional. Further investigation on the classpath issue needed.

Meanwhile, the application is started in a standalone container.

Assemble the demo app, and then run the functional tests from the module lightadmin-tests with:

mvn verify

@ikostenko
Copy link
Member Author

It turned out that it would be more effective to have two modes of running tests:

  1. Developer mode: automatically starting the application before running tests (to run the tests against the recent changes in the application code)
  2. Tester mode: starting tests independently of the application (when developing automated tests, the application is usually already running on background)

Currently, only mode # 1 is supported :(

@aliubunia
Copy link
Member

Added support for distinct dev and test modes.
The dev mode is applied by default.
The test mode can be activated as follows:

mvn -Dmode=test verify

@ikostenko
Copy link
Member Author

verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants