Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

#7 test dependency scope #78

Merged
merged 13 commits into from
Feb 9, 2016
Merged

#7 test dependency scope #78

merged 13 commits into from
Feb 9, 2016

Conversation

slavaschmidt
Copy link
Contributor

There is a lot of issues addressed

- #7 Tests moved to the managed sources file tree
- #29 Test dependencies moved to the test scope
- #17 Triggered execution is now possible
- #59 All plugin keys are now prefixed with "swagger"
- #66 (partially) Generation split into phases
- #1 Compile task seems to be called only once
- The generation of controllers now to be triggered manually as suggested by @jroper
$ exists target/scala-2.11/routes/main/validators/echo.api.yaml.scala

# we don't check what is created by the play's routes compiler because its outside of our control

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test script looks like a great foundation. My approach with scripted tests is to start with something like this, and then as bugs are found and the project evolves, add new ones. As you would be aware, scripted tests can be a little hard to maintain and slow to run, so it's important that every test delivers a lot of value - I think you'll find this test itself will do just that, and as the project evolves you'll find other areas that would benefit from more testing and so warrant the cost of creating new scripted tests for them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jroper Thank you very much for looking into it and for the feedback!

nmcb pushed a commit that referenced this pull request Feb 9, 2016
@nmcb nmcb merged commit 00377ef into master Feb 9, 2016
@nmcb
Copy link
Contributor

nmcb commented Feb 9, 2016

Passes travis test and local scripted.

@nmcb nmcb mentioned this pull request Feb 10, 2016
@slavaschmidt slavaschmidt deleted the #7_test_dependency_scope branch February 14, 2016 18:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants