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

dist bundle should contain other jars in some common location #139

Merged
merged 14 commits into from Feb 20, 2012
Merged

dist bundle should contain other jars in some common location #139

merged 14 commits into from Feb 20, 2012

Conversation

lukasj
Copy link
Contributor

@lukasj lukasj commented Nov 29, 2011

-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

@lukasj
Copy link
Contributor Author

lukasj commented Dec 27, 2011

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
@cbeust cbeust merged commit a50456d into testng-team:master Feb 20, 2012
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