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

cumulative inheritance for @UsingDataSet #135

Open
chrylis opened this issue May 18, 2015 · 2 comments
Open

cumulative inheritance for @UsingDataSet #135

chrylis opened this issue May 18, 2015 · 2 comments

Comments

@chrylis
Copy link

chrylis commented May 18, 2015

I have a core set of data I need to pull in from JSON files, and then I have test-specific overlays. With my Spring configuration, I can define @ContextConfiguration on my base class and then add additional configuration classes in a subclass; the specified classes or locations are all merged.

The @UsingDataSet annotation has a "last-one wins" policy, and it would be helpful to be able to define a location for core data in a base class and simply add to it in a subclass or method.

@lordofthejars
Copy link
Owner

mmm yes I agree with you that this is not possible now. It should be quite simple to implement it. Do you want to implement or you prefer I implement this feature?

@chrylis
Copy link
Author

chrylis commented May 19, 2015

I don't think I understand the JUnit rule infrastructure well enough to be of any use.

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

2 participants