C:\javacodegeeks_ws\testNGSpring\src\test\resources\com\javacodegeeks\testng\spring\testng_spring_transaction.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <suite name="TestNGSpringIntegration Suite"> <test name="TestNGSpringIntegrationTest"> <classes> <class name="com.javacodegeeks.testng.spring.SpringTestNGTransactionExample"/> </classes> </test> <!-- TestNGSpringIntegrationTest --> </suite> <!-- TestNGSpringIntegration Suite -->
Tests for TestNGSpringIntegration Suite
- TestNGSpringIntegrationTest (1 class)
Groups for TestNGSpringIntegration Suite
Times for TestNGSpringIntegration Suite
Total running time: 31 ms
Reporter output for TestNGSpringIntegration Suite
0 ignored methods
Methods in chronological order
com.javacodegeeks.testng.spring.SpringTestNGTransactionExample
springTestContextBeforeTestClass
0 ms
springTestContextPrepareTestInstance
5 ms
springTestContextBeforeTestMethod(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeAndCommit())
532 ms
saveMethodName(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeAndCommit())
567 ms
insertEmployeeAndCommit
567 ms
springTestContextAfterTestMethod(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeAndCommit())
595 ms
springTestContextBeforeTestMethod(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeUsingSqlAnn...)
603 ms
saveMethodName(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeUsingSqlAnn...)
636 ms
insertEmployeeUsingSqlAnnotation
636 ms
springTestContextAfterTestMethod(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeUsingSqlAnn...)
637 ms
springTestContextBeforeTestMethod(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeWithCommitA...)
645 ms
saveMethodName(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeWithCommitA...)
666 ms
insertEmployeeWithCommitAsDefault
666 ms
springTestContextAfterTestMethod(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeWithCommitA...)
668 ms
springTestContextBeforeTestMethod(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeWithRollbac...)
676 ms
saveMethodName(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeWithRollbac...)
705 ms
insertEmployeeWithRollbackAsDefault
706 ms
springTestContextAfterTestMethod(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.insertEmployeeWithRollbac...)
707 ms
springTestContextBeforeTestMethod(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.tran())
714 ms
saveMethodName(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.tran())
735 ms
tran
735 ms
springTestContextAfterTestMethod(public void com.javacodegeeks.testng.spring.SpringTestNGTransactionExample.tran())
735 ms
springTestContextAfterTestClass
737 ms