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

Some minor improvements in the way spec tests were written #43

Merged
merged 2 commits into from
Aug 28, 2013

Conversation

fcamblor
Copy link
Contributor

Not a big deal here, but discovered the existence of RestxSpecTests & RestxSpecTestsRunner

(to be honest, I started implementing my own RestxSpecTestsRunner before figuring it was already implemented :-D ... the funny part is I used the findSpecsIn() method prototype exactly the same as you)

to ease creation of Parameterized tests based on specs
+ Used this method to automatically reference specs in SessionsTest
by using @RunWith(RestxSpecTestsRunner.class) & @FindSpecsIn

I kept (in comment), the RestxSpecRule usage, in order to make the developper
conscious of the *manual* way to executing spec tests
xhanin added a commit that referenced this pull request Aug 28, 2013
Some minor improvements in the way spec tests were written
@xhanin xhanin merged commit e69f9cc into restx:master Aug 28, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants