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

Can we make DirectoryTestSuite.getTests() public? #33

Merged
merged 1 commit into from Oct 1, 2013

Conversation

atuttle
Copy link
Contributor

@atuttle atuttle commented Oct 1, 2013

So I made this thing that I think is pretty cool:

Only problem is that to make it I had to modify my MXUnit install and make 1 tiny change -- the one included in this pull request.

It simply makes the getTests method of the mxunit.runner.DirectoryTestSuite class public instead of private. This is done so that I can get a list of the test suites and their associated tests in a very machine-usable format.

I can't think of any harm that could come from changing the access level of this method; other than it would become part of the officially supported API of the framework and that might come with some maintenance concerns?

If you accept this pull request, then I can remove the pre-requisite of modifying your mxunit install in order to use mxunit-watcher. What do you say? :)

marcesher added a commit that referenced this pull request Oct 1, 2013
Can we make DirectoryTestSuite.getTests() public?
@marcesher marcesher merged commit 8226397 into mxunit:master Oct 1, 2013
@marcesher
Copy link
Contributor

Thanks Adam!

@atuttle atuttle deleted the public_getTests branch October 1, 2013 15:05
@atuttle
Copy link
Contributor Author

atuttle commented Oct 1, 2013

Thanks, you!

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