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

Support JUnit annotations #1

Open
ewolff opened this issue Jun 29, 2013 · 3 comments
Open

Support JUnit annotations #1

ewolff opened this issue Jun 29, 2013 · 3 comments

Comments

@ewolff
Copy link

ewolff commented Jun 29, 2013

I like the approach https://github.com/vert-x/vertx-junit-annotations takes. IMHO the annotations provide a clean and nice way to define tests. However, that projects seems to be discontinued - the last released version was for 1.3.0. So I wonder whether these annotations could be ported over to this projects. It would be a great addition IMHO.

@purplefox
Copy link
Member

The Junit annotations was based around the old test framework which was a much more complex way to run tests - it required the user to retain both a Java JUnit proxy class and the actual test class separately, and the mechanism for signalling test start, test completion etc was far more complex.

This has been superseded by testtools which means you can write in container tests as standard Junit tests and they are automatically run in the container. You can also use the standard JUnit api in tests (again not possible with the old framework)

@ewolff
Copy link
Author

ewolff commented Jun 29, 2013

Thanks for the fast feedback! I am talking about annotations such as @TestVerticle or @testmodule that appear quite helpful to me.

@purplefox
Copy link
Member

This annotations are unnecessary with testtools as the Junit test IS the test verticle - take a look at the Gradle teample project for examples

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

No branches or pull requests

2 participants