Quantcast

[testng-dev] SKIPPED TCs with useless trace-back :::: testng 6.9.5.201506120235 on Eclipse 4.4.2 eclipse

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[testng-dev] SKIPPED TCs with useless trace-back :::: testng 6.9.5.201506120235 on Eclipse 4.4.2 eclipse

DBrad
Hi,

Started using TestNG for testing a group of application classes and some test-aids that I've written. The tests arean  integration of a number of classes (basically, multiple windows/frames are being created; thus the need to be none unit testing). The tests are written with dependsonmethod associations in TestNG.

The test-aid resets the static values of loaded classes automatically between the launch of the various windows/frames. (Basically, tests have to be run in sequence to ensure allocation and deallocation of resources. Without creating new ClassLoaders between launches as I use another tools which has its own classloader and I'm not allowed to
alter that code [its not visible]).

When testing the test-aids and a JDK 8 vs JDK 7 change caused fails the output from TestNG was overwhelming.

Below is the output from the Eclipse console, will be testing on Netbeans too, standalone some time. 

The SKIPPED information is good but is followed by TestNG trace-back info. Its the same trace-back for each and nothing can be done by a user to address it. It overwhelms the output.

Expecting

Be nice if the trace-back was not there for the SKIPPED reason......

Other info
Verbose setting = 2, if I use 1 or 0 then the skipped is not presented, nor is the RuntimeException from my test-aid being tested. The exception means that the test-aid has not been used right and things should crash out.

I now know TestNG absorbs STDOUT and hides it for verbose 1 & 0. Verbose 2 allow the exceptions to come through which is nice but also the TestNG trace-back for SKIPPED TCs

Regards
Dave.


[TestNG] Running:

R:\Temp\testng-eclipse--937846595\testng-customsuite.xml

 

<00> NEW TestAid -- (TestAidUtility.java:23) testUtilities.TestAidUtility <clinit>

<00>java.lang.RuntimeException:

** ERROR ** bad order of calls between dependent methods

method 'applyOverrideFor'

calls must be AFTER

method 'definePackages'

at testUtilities.TestAidUtility.activateTestaid(TestAidUtility.java:42)

Testclass completed: JUnits.java

java: Oracle Corporation, 1.8.0_51

mem: 16252928 13485536 13494968

PASSED: classes_Not_UsedJUnit

FAILED: launchForJUnitTest

java.lang.RuntimeException:

** ERROR ** bad order of calls between dependent methods

method 'applyOverrideFor'

calls must be AFTER

method 'definePackages'

at testUtilities.TestAidUtility.activateTestaid(TestAidUtility.java:42)

SKIPPED: class_DateTimeFilterJButton_ConvertDateInternal

java.lang.Throwable: Method JUnits.class_DateTimeFilterJButton_ConvertDateInternal()[pri:0, instance

:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_DateTimeFilterJButton_SetInternalDate

java.lang.Throwable: Method JUnits.class_DateTimeFilterJButton_SetInternalDate()[pri:0, instance:vcs

vuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_GraphLoadingNotifier_LoadingFinished

java.lang.Throwable: Method JUnits.class_GraphLoadingNotifier_LoadingFinished()[pri:0, instance:vcsv

uTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_ConfigReposFontsForDialog_allstatic

java.lang.Throwable: Method JUnits.class_ConfigReposFontsForDialog_allstatic()[pri:0, instance:vcsvu

Tests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_MenuWindowSessionN

java.lang.Throwable: Method JUnits.class_MenuWindowSessionN()[pri:0, instance:vcsvuTests.junit.JUnit

s@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_ConfigReposJList_addElement_duplicate

java.lang.Throwable: Method JUnits.class_ConfigReposJList_addElement_duplicate()[pri:0, instance:vcs

vuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffCheck_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffCheck_throws()[pri:0, inst

ance:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffEnd_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffEnd_throws()[pri:0, instan

ce:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffStart_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffStart_throws()[pri:0, inst

ance:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_CodeCoverage_debug

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_CodeCoverage_debug()[pri:0, instance:v

csvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_CodeCoverage_interrupt

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_CodeCoverage_interrupt()[pri:0, instan

ce:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_Frame_hidden

java.lang.Throwable: Method JUnits.class_Frame_hidden()[pri:0, instance:vcsvuTests.junit.JUnits@11f9

89e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BuildMenu_menuCancel

java.lang.Throwable: Method JUnits.class_BuildMenu_menuCancel()[pri:0, instance:vcsvuTests.junit.JUn

its@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_MenuFilePageSetup_menuCancel

java.lang.Throwable: Method JUnits.class_MenuFilePageSetup_menuCancel()[pri:0, instance:vcsvuTests.j

unit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

===============================================

Default test

Tests run: 16, Failures: 1, Skips: 14

===============================================

 

===============================================

Default suite

Total tests run: 16, Failures: 1, Skips: 14

===============================================

[TestNG] Time taken by org.testng.reporters.EmailableReporter2@4038d0: 0 ms

[TestNG] Time taken by org.testng.reporters.jq.Main@2efe5d: 109 ms

[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 16 ms

[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@1bd815b: 62 ms

[TestNG] Time taken by org.testng.reporters.XMLReporter@182830e: 16 ms

[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@81f4dc: 16 ms

 

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [testng-dev] SKIPPED TCs with useless trace-back :::: testng 6.9.5.201506120235 on Eclipse 4.4.2 eclipse

Cédric Beust ♔-2

Are you sure this is coming from TestNG? This line is suspicious to me:

java.lang.Throwable: Method JUnits.class_GraphLoadingNotifier_LoadingFinished()[pri:0, instance:vcsv

uTests.junit.JUnits@11f989e] depends on not successfully finished methods

-- 
Cédric


On Sat, Jul 25, 2015 at 4:28 PM, <[hidden email]> wrote:
Hi,

Started using TestNG for testing a group of application classes and some test-aids that I've written. The tests arean  integration of a number of classes (basically, multiple windows/frames are being created; thus the need to be none unit testing). The tests are written with dependsonmethod associations in TestNG.

The test-aid resets the static values of loaded classes automatically between the launch of the various windows/frames. (Basically, tests have to be run in sequence to ensure allocation and deallocation of resources. Without creating new ClassLoaders between launches as I use another tools which has its own classloader and I'm not allowed to
alter that code [its not visible]).

When testing the test-aids and a JDK 8 vs JDK 7 change caused fails the output from TestNG was overwhelming.

Below is the output from the Eclipse console, will be testing on Netbeans too, standalone some time. 

The SKIPPED information is good but is followed by TestNG trace-back info. Its the same trace-back for each and nothing can be done by a user to address it. It overwhelms the output.

Expecting

Be nice if the trace-back was not there for the SKIPPED reason......

Other info
Verbose setting = 2, if I use 1 or 0 then the skipped is not presented, nor is the RuntimeException from my test-aid being tested. The exception means that the test-aid has not been used right and things should crash out.

I now know TestNG absorbs STDOUT and hides it for verbose 1 & 0. Verbose 2 allow the exceptions to come through which is nice but also the TestNG trace-back for SKIPPED TCs

Regards
Dave.


[TestNG] Running:

R:\Temp\testng-eclipse--937846595\testng-customsuite.xml

 

<00> NEW TestAid -- (TestAidUtility.java:23) testUtilities.TestAidUtility <clinit>

<00>java.lang.RuntimeException:

** ERROR ** bad order of calls between dependent methods

method 'applyOverrideFor'

calls must be AFTER

method 'definePackages'

at testUtilities.TestAidUtility.activateTestaid(TestAidUtility.java:42)

Testclass completed: JUnits.java

java: Oracle Corporation, 1.8.0_51

mem: 16252928 13485536 13494968

PASSED: classes_Not_UsedJUnit

FAILED: launchForJUnitTest

java.lang.RuntimeException:

** ERROR ** bad order of calls between dependent methods

method 'applyOverrideFor'

calls must be AFTER

method 'definePackages'

at testUtilities.TestAidUtility.activateTestaid(TestAidUtility.java:42)

SKIPPED: class_DateTimeFilterJButton_ConvertDateInternal

java.lang.Throwable: Method JUnits.class_DateTimeFilterJButton_ConvertDateInternal()[pri:0, instance

:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_DateTimeFilterJButton_SetInternalDate

java.lang.Throwable: Method JUnits.class_DateTimeFilterJButton_SetInternalDate()[pri:0, instance:vcs

vuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_GraphLoadingNotifier_LoadingFinished

java.lang.Throwable: Method JUnits.class_GraphLoadingNotifier_LoadingFinished()[pri:0, instance:vcsv

uTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_ConfigReposFontsForDialog_allstatic

java.lang.Throwable: Method JUnits.class_ConfigReposFontsForDialog_allstatic()[pri:0, instance:vcsvu

Tests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_MenuWindowSessionN

java.lang.Throwable: Method JUnits.class_MenuWindowSessionN()[pri:0, instance:vcsvuTests.junit.JUnit

s@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_ConfigReposJList_addElement_duplicate

java.lang.Throwable: Method JUnits.class_ConfigReposJList_addElement_duplicate()[pri:0, instance:vcs

vuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffCheck_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffCheck_throws()[pri:0, inst

ance:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffEnd_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffEnd_throws()[pri:0, instan

ce:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffStart_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffStart_throws()[pri:0, inst

ance:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_CodeCoverage_debug

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_CodeCoverage_debug()[pri:0, instance:v

csvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_CodeCoverage_interrupt

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_CodeCoverage_interrupt()[pri:0, instan

ce:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_Frame_hidden

java.lang.Throwable: Method JUnits.class_Frame_hidden()[pri:0, instance:vcsvuTests.junit.JUnits@11f9

89e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BuildMenu_menuCancel

java.lang.Throwable: Method JUnits.class_BuildMenu_menuCancel()[pri:0, instance:vcsvuTests.junit.JUn

its@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_MenuFilePageSetup_menuCancel

java.lang.Throwable: Method JUnits.class_MenuFilePageSetup_menuCancel()[pri:0, instance:vcsvuTests.j

unit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

===============================================

Default test

Tests run: 16, Failures: 1, Skips: 14

===============================================

 

===============================================

Default suite

Total tests run: 16, Failures: 1, Skips: 14

===============================================

[TestNG] Time taken by org.testng.reporters.EmailableReporter2@4038d0: 0 ms

[TestNG] Time taken by org.testng.reporters.jq.Main@2efe5d: 109 ms

[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 16 ms

[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@1bd815b: 62 ms

[TestNG] Time taken by org.testng.reporters.XMLReporter@182830e: 16 ms

[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@81f4dc: 16 ms

 

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [testng-dev] SKIPPED TCs with useless trace-back :::: testng 6.9.5.201506120235 on Eclipse 4.4.2 eclipse

DBrad
Hi,
 
Yes this is from testNG as the file JUnits.java is run as TestNG, there is no import of JUnit code. The issue being reported  is a need to skip the testcase which is expected, its the traceback thats coming with the skipped message that is my concern.
 
The test case method is

@Test (dependsOnMethods="class_DateTimeFilterJButton_SetInternalDate")

public void class_GraphLoadingNotifier_LoadingFinished(){

LoadingNotifier nuNotifier = new LoadingNotifier();

// test the loading finish to be out of sequence, code coverag

nuNotifier.loadingFinished(null, "testststst");

}

 

Could you expand on your suspicious concern?

 

 

----- Original Message -----
Sent: Sunday, July 26, 2015 3:14 AM
Subject: Re: [testng-dev] SKIPPED TCs with useless trace-back :::: testng 6.9.5.201506120235 on Eclipse 4.4.2 eclipse

Are you sure this is coming from TestNG? This line is suspicious to me:

java.lang.Throwable: Method JUnits.class_GraphLoadingNotifier_LoadingFinished()[pri:0, instance:vcsv

uTests.junit.JUnits@11f989e] depends on not successfully finished methods

-- 
Cédric


On Sat, Jul 25, 2015 at 4:28 PM, <[hidden email]> wrote:
Hi,

Started using TestNG for testing a group of application classes and some test-aids that I've written. The tests arean  integration of a number of classes (basically, multiple windows/frames are being created; thus the need to be none unit testing). The tests are written with dependsonmethod associations in TestNG.

The test-aid resets the static values of loaded classes automatically between the launch of the various windows/frames. (Basically, tests have to be run in sequence to ensure allocation and deallocation of resources. Without creating new ClassLoaders between launches as I use another tools which has its own classloader and I'm not allowed to
alter that code [its not visible]).

When testing the test-aids and a JDK 8 vs JDK 7 change caused fails the output from TestNG was overwhelming.

Below is the output from the Eclipse console, will be testing on Netbeans too, standalone some time. 

The SKIPPED information is good but is followed by TestNG trace-back info. Its the same trace-back for each and nothing can be done by a user to address it. It overwhelms the output.

Expecting

Be nice if the trace-back was not there for the SKIPPED reason......

Other info
Verbose setting = 2, if I use 1 or 0 then the skipped is not presented, nor is the RuntimeException from my test-aid being tested. The exception means that the test-aid has not been used right and things should crash out.

I now know TestNG absorbs STDOUT and hides it for verbose 1 & 0. Verbose 2 allow the exceptions to come through which is nice but also the TestNG trace-back for SKIPPED TCs

Regards
Dave.


[TestNG] Running:

R:\Temp\testng-eclipse--937846595\testng-customsuite.xml

 

<00> NEW TestAid -- (TestAidUtility.java:23) testUtilities.TestAidUtility <clinit>

<00>java.lang.RuntimeException:

** ERROR ** bad order of calls between dependent methods

method 'applyOverrideFor'

calls must be AFTER

method 'definePackages'

at testUtilities.TestAidUtility.activateTestaid(TestAidUtility.java:42)

Testclass completed: JUnits.java

java: Oracle Corporation, 1.8.0_51

mem: 16252928 13485536 13494968

PASSED: classes_Not_UsedJUnit

FAILED: launchForJUnitTest

java.lang.RuntimeException:

** ERROR ** bad order of calls between dependent methods

method 'applyOverrideFor'

calls must be AFTER

method 'definePackages'

at testUtilities.TestAidUtility.activateTestaid(TestAidUtility.java:42)

SKIPPED: class_DateTimeFilterJButton_ConvertDateInternal

java.lang.Throwable: Method JUnits.class_DateTimeFilterJButton_ConvertDateInternal()[pri:0, instance

:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_DateTimeFilterJButton_SetInternalDate

java.lang.Throwable: Method JUnits.class_DateTimeFilterJButton_SetInternalDate()[pri:0, instance:vcs

vuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_GraphLoadingNotifier_LoadingFinished

java.lang.Throwable: Method JUnits.class_GraphLoadingNotifier_LoadingFinished()[pri:0, instance:vcsv

uTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_ConfigReposFontsForDialog_allstatic

java.lang.Throwable: Method JUnits.class_ConfigReposFontsForDialog_allstatic()[pri:0, instance:vcsvu

Tests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_MenuWindowSessionN

java.lang.Throwable: Method JUnits.class_MenuWindowSessionN()[pri:0, instance:vcsvuTests.junit.JUnit

s@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_ConfigReposJList_addElement_duplicate

java.lang.Throwable: Method JUnits.class_ConfigReposJList_addElement_duplicate()[pri:0, instance:vcs

vuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffCheck_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffCheck_throws()[pri:0, inst

ance:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffEnd_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffEnd_throws()[pri:0, instan

ce:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffStart_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffStart_throws()[pri:0, inst

ance:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_CodeCoverage_debug

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_CodeCoverage_debug()[pri:0, instance:v

csvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_CodeCoverage_interrupt

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_CodeCoverage_interrupt()[pri:0, instan

ce:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_Frame_hidden

java.lang.Throwable: Method JUnits.class_Frame_hidden()[pri:0, instance:vcsvuTests.junit.JUnits@11f9

89e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BuildMenu_menuCancel

java.lang.Throwable: Method JUnits.class_BuildMenu_menuCancel()[pri:0, instance:vcsvuTests.junit.JUn

its@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_MenuFilePageSetup_menuCancel

java.lang.Throwable: Method JUnits.class_MenuFilePageSetup_menuCancel()[pri:0, instance:vcsvuTests.j

unit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

===============================================

Default test

Tests run: 16, Failures: 1, Skips: 14

===============================================

 

===============================================

Default suite

Total tests run: 16, Failures: 1, Skips: 14

===============================================

[TestNG] Time taken by org.testng.reporters.EmailableReporter2@4038d0: 0 ms

[TestNG] Time taken by org.testng.reporters.jq.Main@2efe5d: 109 ms

[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 16 ms

[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@1bd815b: 62 ms

[TestNG] Time taken by org.testng.reporters.XMLReporter@182830e: 16 ms

[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@81f4dc: 16 ms

 

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "testng-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/testng-dev/SSXa1ls3RgI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [testng-dev] SKIPPED TCs with useless trace-back :::: testng 6.9.5.201506120235 on Eclipse 4.4.2 eclipse

Cédric Beust ♔-2
Indeed, this is coming from TestNG. I've never seen this message trigger before, though, do you have a small reproducible test case?

-- 
Cédric


On Sun, Aug 2, 2015 at 6:42 AM, David Bradley <[hidden email]> wrote:
Hi,
 
Yes this is from testNG as the file JUnits.java is run as TestNG, there is no import of JUnit code. The issue being reported  is a need to skip the testcase which is expected, its the traceback thats coming with the skipped message that is my concern.
 
The test case method is

@Test (dependsOnMethods="class_DateTimeFilterJButton_SetInternalDate")

public void class_GraphLoadingNotifier_LoadingFinished(){

LoadingNotifier nuNotifier = new LoadingNotifier();

// test the loading finish to be out of sequence, code coverag

nuNotifier.loadingFinished(null, "testststst");

}

 

Could you expand on your suspicious concern?

 

 

----- Original Message -----
Sent: Sunday, July 26, 2015 3:14 AM
Subject: Re: [testng-dev] SKIPPED TCs with useless trace-back :::: testng 6.9.5.201506120235 on Eclipse 4.4.2 eclipse

Are you sure this is coming from TestNG? This line is suspicious to me:

java.lang.Throwable: Method JUnits.class_GraphLoadingNotifier_LoadingFinished()[pri:0, instance:vcsv

uTests.junit.JUnits@11f989e] depends on not successfully finished methods

-- 
Cédric


On Sat, Jul 25, 2015 at 4:28 PM, <[hidden email]> wrote:
Hi,

Started using TestNG for testing a group of application classes and some test-aids that I've written. The tests arean  integration of a number of classes (basically, multiple windows/frames are being created; thus the need to be none unit testing). The tests are written with dependsonmethod associations in TestNG.

The test-aid resets the static values of loaded classes automatically between the launch of the various windows/frames. (Basically, tests have to be run in sequence to ensure allocation and deallocation of resources. Without creating new ClassLoaders between launches as I use another tools which has its own classloader and I'm not allowed to
alter that code [its not visible]).

When testing the test-aids and a JDK 8 vs JDK 7 change caused fails the output from TestNG was overwhelming.

Below is the output from the Eclipse console, will be testing on Netbeans too, standalone some time. 

The SKIPPED information is good but is followed by TestNG trace-back info. Its the same trace-back for each and nothing can be done by a user to address it. It overwhelms the output.

Expecting

Be nice if the trace-back was not there for the SKIPPED reason......

Other info
Verbose setting = 2, if I use 1 or 0 then the skipped is not presented, nor is the RuntimeException from my test-aid being tested. The exception means that the test-aid has not been used right and things should crash out.

I now know TestNG absorbs STDOUT and hides it for verbose 1 & 0. Verbose 2 allow the exceptions to come through which is nice but also the TestNG trace-back for SKIPPED TCs

Regards
Dave.


[TestNG] Running:

R:\Temp\testng-eclipse--937846595\testng-customsuite.xml

 

<00> NEW TestAid -- (TestAidUtility.java:23) testUtilities.TestAidUtility <clinit>

<00>java.lang.RuntimeException:

** ERROR ** bad order of calls between dependent methods

method 'applyOverrideFor'

calls must be AFTER

method 'definePackages'

at testUtilities.TestAidUtility.activateTestaid(TestAidUtility.java:42)

Testclass completed: JUnits.java

java: Oracle Corporation, 1.8.0_51

mem: 16252928 13485536 13494968

PASSED: classes_Not_UsedJUnit

FAILED: launchForJUnitTest

java.lang.RuntimeException:

** ERROR ** bad order of calls between dependent methods

method 'applyOverrideFor'

calls must be AFTER

method 'definePackages'

at testUtilities.TestAidUtility.activateTestaid(TestAidUtility.java:42)

SKIPPED: class_DateTimeFilterJButton_ConvertDateInternal

java.lang.Throwable: Method JUnits.class_DateTimeFilterJButton_ConvertDateInternal()[pri:0, instance

:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_DateTimeFilterJButton_SetInternalDate

java.lang.Throwable: Method JUnits.class_DateTimeFilterJButton_SetInternalDate()[pri:0, instance:vcs

vuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_GraphLoadingNotifier_LoadingFinished

java.lang.Throwable: Method JUnits.class_GraphLoadingNotifier_LoadingFinished()[pri:0, instance:vcsv

uTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_ConfigReposFontsForDialog_allstatic

java.lang.Throwable: Method JUnits.class_ConfigReposFontsForDialog_allstatic()[pri:0, instance:vcsvu

Tests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_MenuWindowSessionN

java.lang.Throwable: Method JUnits.class_MenuWindowSessionN()[pri:0, instance:vcsvuTests.junit.JUnit

s@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_ConfigReposJList_addElement_duplicate

java.lang.Throwable: Method JUnits.class_ConfigReposJList_addElement_duplicate()[pri:0, instance:vcs

vuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffCheck_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffCheck_throws()[pri:0, inst

ance:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffEnd_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffEnd_throws()[pri:0, instan

ce:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_test_handoffStart_throws

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_test_handoffStart_throws()[pri:0, inst

ance:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_CodeCoverage_debug

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_CodeCoverage_debug()[pri:0, instance:v

csvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BusyIndicatorDisplay_CodeCoverage_interrupt

java.lang.Throwable: Method JUnits.class_BusyIndicatorDisplay_CodeCoverage_interrupt()[pri:0, instan

ce:vcsvuTests.junit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_Frame_hidden

java.lang.Throwable: Method JUnits.class_Frame_hidden()[pri:0, instance:vcsvuTests.junit.JUnits@11f9

89e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_BuildMenu_menuCancel

java.lang.Throwable: Method JUnits.class_BuildMenu_menuCancel()[pri:0, instance:vcsvuTests.junit.JUn

its@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

SKIPPED: class_MenuFilePageSetup_menuCancel

java.lang.Throwable: Method JUnits.class_MenuFilePageSetup_menuCancel()[pri:0, instance:vcsvuTests.j

unit.JUnits@11f989e] depends on not successfully finished methods

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1052)

at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)

at org.testng.TestRunner.privateRun(TestRunner.java:771)

at org.testng.TestRunner.run(TestRunner.java:621)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)

at org.testng.SuiteRunner.run(SuiteRunner.java:259)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1176)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1101)

at org.testng.TestNG.run(TestNG.java:1009)

at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

 

===============================================

Default test

Tests run: 16, Failures: 1, Skips: 14

===============================================

 

===============================================

Default suite

Total tests run: 16, Failures: 1, Skips: 14

===============================================

[TestNG] Time taken by org.testng.reporters.EmailableReporter2@4038d0: 0 ms

[TestNG] Time taken by org.testng.reporters.jq.Main@2efe5d: 109 ms

[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 16 ms

[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@1bd815b: 62 ms

[TestNG] Time taken by org.testng.reporters.XMLReporter@182830e: 16 ms

[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@81f4dc: 16 ms

 

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "testng-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/testng-dev/SSXa1ls3RgI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [testng-dev] SKIPPED TCs with useless trace-back :::: testng 6.9.5.201506120235 on Eclipse 4.4.2 eclipse

DBrad
I looked into the code for org.testng.internal/Invoker.java and found the change to be between an update some 8 months ago 4bad7e6 to a85a2ac.

new Throwable(okToProceed) constructs the message and traceback. I tested with null and just the skipped comes out on the output. The newer message gives more detail but also the traceback.

I'll look to get you a test script for later today.


 Line 1029 of Invoker 16d22335

  if (okToProceed != null) {

      //

     // Not okToProceed. Test is being skipped

     //

     ITestResult result = registerSkippedTestResult(testMethod, null,
             System.currentTimeMillis(),

             new Throwable(okToProceed));     ?? ********** if set to null works as before

     m_notifier.addSkippedTest(testMethod, result);

     return Collections.singletonList(result);

   }


Old Stuff was:

  if (okToProceed != null) {

     //

     // Not okToProceed. Test is being skipped

     //

     ITestResult testResult = new TestResult(testClass, null /* instance */,

         testMethod,


        null /* cause */,

         start,

         System.currentTimeMillis(),

         m_testContext);


      testResult.setThrowable(new Throwable(okToProceed));

     testResult.setStatus(ITestResult.SKIP);

     result.add(testResult);

     m_notifier.addSkippedTest(testMethod, testResult);

     runTestListeners(testResult);


      return result;


   }








--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [testng-dev] SKIPPED TCs with useless trace-back :::: testng 6.9.5.201506120235 on Eclipse 4.4.2 eclipse

DBrad

Here is the code for a quick test:

Regards
Dave


package
xxxxxxxxxxx;   // need to change for your test environment



import org.testng.annotations.Test; 


@Test (singleThreaded=true)

public class SkippedTest {



        @Test

       public void failTest(){


          System.out.println("Should see this");


     

          // will cause a fail due to a ArithmeticException and thus the

         // following dependent test will be skipped

         float div0 = 1 / 0;


        System.out.printf("But should not see this %d", div0);

    }


        ////////////////////


        @Test (dependsOnMethods="failTest")


        public void skippedTest1(){


                System.out.println("Dependent test should not execute but be a skip");


        }


}




--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [testng-dev] SKIPPED TCs with useless trace-back :::: testng 6.9.5.201506120235 on Eclipse 4.4.2 eclipse

DBrad
Here is a suggestion so as to keep the message intent of the throw (skipped due to method dependency or method group dependency,.......). Note the throwable has been altered to have a empty stack-trace-elements array.



   if (okToProceed != null) {


      //

      // Not okToProceed. Test is being skipped

      //

      Throwable throwSkipped =  new Throwable(okToProceed);

      throwSkipped.setStackTrace( new StackTraceElement[0] );

       

      ITestResult result = registerSkippedTestResult(testMethod, null, System.currentTimeMillis(),

                  throwSkipped); // new Throwable(okToProceed));


      m_notifier.addSkippedTest(testMethod, result);


      return Collections.singletonList(result);

    }




 

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...