testng icon indicating copy to clipboard operation
testng copied to clipboard

TestNG testing framework

Results 173 testng issues
Sort by recently updated
recently updated
newest added

The current version of xml report leaves value of test-instance-name empty. this fix will fill the correct value for it. I found this bug when learning this project, https://github.com/djangofan/testng-dynamic-testname

https://github.com/cbeust/testng/issues/492 adding support for allowing user to prioritize class loader's sequence, by differently specifying global (`static`) `ClassLoaders` and `Object`'s `ClassLoader`

This is a partial fix for: https://github.com/cbeust/testng/issues/413 It only fixes issues with setting selectors. I don't want to mess with priority/execution of beanshell without consulting with anybody.

check in the performance testing annotation

``` FAILURE 0,4sec, test.hook.HookableTest > issue599 java.lang.AssertionError: Verification for Passed tests failed: expected [1] but found [0] at org.testng.Assert.fail(Assert.java:113) at org.testng.Assert.failNotEquals(Assert.java:1060) at org.testng.Assert.assertEqualsImpl(Assert.java:154) at org.testng.Assert.assertEquals(Assert.java:136) at org.testng.Assert.assertEquals(Assert.java:930) at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18) at...

See https://travis-ci.org/github/cbeust/testng/jobs/773395339#L746 ``` > Task :testng-core:test FAILURE 4.8sec, test.thread.issue188.IssueTest > testSuiteLevelParallelMode java.lang.AssertionError: Test methods should have started within a lag of max 40 ms but it was 43 ms [1622731448687,1622731448730,1622731448732,1622731448733]...

Here's the stacktrace. The offending class was `org.ops4j.pax.exam.testng.listener.PaxExam` (testng was trying to instantiate `PaxExam`, however, it failed). I suggest that failed reflection calls should add the relevant pointers to the...

### TestNG Version The latest ### Expected behavior Failing reports should result in test execution failure. An alternative option is to have a property to "ignore errors from reporters" ###...

There's an `AssertionFailure` coming from Gradle. Gradle code: https://github.com/gradle/gradle/blob/06140ac5fbdce282f868197064156b9b1753012f/subprojects/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestResultProcessorAdapter.java#L184 // Gradle code: ``` parentId = testMethodParentId.get(iTestResult.getMethod()); assert parentId != null; ``` I guess that they expect that each method should...

Feature: junit
Runner: Gradle

### TestNG Version The latest ### Expected behavior There should be a way to understand the actual parameter for the test. ### Actual behavior ``` FAILURE 1.0sec, test.dependent.DependentTest > simpleCyclingDependencyShouldWorkWitParallelism[3](class...