Tuesday 15 March 2011

playframework - How to download Play! Framework dependencies before test phase? -



playframework - How to download Play! Framework dependencies before test phase? -

i have webjar dependencies (requirejs, jquery, angular etc.) play 2.3.x download target folder before test phase can utilize them in jasmine unit tests. dependencies defined in build.sbt , downloaded in dist phase; jasmine tests run in test phase cannot utilize them.

is there way download or dependencies in play! 2.3.x before test phase? utilize maven build , can configure custom activator tasks (if there any) run before test phase.

alternative configure jasmine tests run during verify phase, these unit tests , them run in test phase.

i go with

activator update activator stage activator test

command "update" download dependencies, "stage" generate project files target directory without generating zip bundle (i utilize jenkins deployment after running tests) , run tests.

playframework

No comments:

Post a Comment