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
dist bundle should contain other jars in some common location #139
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
first commit fixes mentioned issue, second one adds ability to run JUnit 4 tests by TestNG and updates junit dependency from v. 3 to version 4 |
-added '-mixed' cmd line switch and mode="TESTNG|JUNIT|MIXED" ant task attribute -when this mode is selected and some version of JUnit is found on the classpath then TestNG tries to automatically recognize the type of test and run it using appropriate test runner (testng for testng, junitcore for junit4/3 - if junit4 is found or junit 3 runner - if only junit3 is found)
-better separation of older JUnit3 and JUnit4 runners -improved test results reporting for invoked JUnit tests
-added '-mixed' cmd line switch and mode="TESTNG|JUNIT|MIXED" ant task attribute -when this mode is selected and some version of JUnit is found on the classpath then TestNG tries to automatically recognize the type of test and run it using appropriate test runner (testng for testng, junitcore for junit4/3 - if junit4 is found or junit 3 runner - if only junit3 is found) -improved test results reporting for invoked JUnit tests
cbeust
added a commit
that referenced
this pull request
Feb 20, 2012
dist bundle should contain other jars in some common location
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
-do 'ant dist'
-unzip target/testng-$version.zip
or download the distribution zip from testng.org website and unzip it
-find 'testng-$version-bsh-noguice.jar'
=> for distributed version it is in $TESTNG_HOME/Users/cedric/java/testng/target/other-jars, for own build it can be ie: $TESTNG_HOME/space/sources/testng/target/other-jars
where TESTNG_HOME is a folder where testng has been unzipped.
With this patch other jars are packaged into testng-$version.zip!/testng-$version/other-jars instead