mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-2206 (Dynamic test suite configuration)
+review RM-49 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@104044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -34,19 +34,21 @@ import org.junit.runner.RunWith;
|
||||
@SuiteTypes({SuiteType.TEST_CLASSES, SuiteType.RUN_WITH_CLASSES, SuiteType.JUNIT38_TEST_CLASSES})
|
||||
@ClassnameFilters({
|
||||
// Execute all tests classes ending with "Test"
|
||||
".*Test"
|
||||
".*Test",
|
||||
// Exclude the ones ending with "UnitTest"
|
||||
,"!.*UnitTest"
|
||||
"!.*UnitTest",
|
||||
// Put the test classes you want to exclude here
|
||||
,"!.*DataLoadSystemTest"
|
||||
,"!.*RM2072Test"
|
||||
,"!.*RM2190Test"
|
||||
,"!.*RM981SystemTest"
|
||||
,"!.*RecordsManagementEventServiceImplTest"
|
||||
,"!.*RmRestApiTest"
|
||||
,"!.*NotificationServiceHelperSystemTest"
|
||||
,"!.*RetryingTransactionHelperBaseTest"
|
||||
,"!.*RMCaveatConfigServiceImplTest"
|
||||
"!.*DataLoadSystemTest",
|
||||
"!.*RM2072Test",
|
||||
"!.*RM2190Test",
|
||||
"!.*RM981SystemTest",
|
||||
"!.*RecordsManagementEventServiceImplTest",
|
||||
"!.*RmRestApiTest",
|
||||
"!.*NotificationServiceHelperSystemTest",
|
||||
"!.*RetryingTransactionHelperBaseTest",
|
||||
"!.*RMCaveatConfigServiceImplTest",
|
||||
// This test is running successfully locally but not on bamboo
|
||||
"!.*EmailMapScriptTest"
|
||||
})
|
||||
public class AllTestSuite
|
||||
{
|
||||
|
@@ -31,9 +31,9 @@ import org.junit.runner.RunWith;
|
||||
@RunWith(ClasspathSuite.class)
|
||||
@ClassnameFilters({
|
||||
// Execute all tests classes ending with "UnitTest"
|
||||
".*UnitTest"
|
||||
".*UnitTest",
|
||||
// Put the test classes you want to exclude here
|
||||
,"!.*FilePlanPermissionServiceImplUnitTest"
|
||||
"!.*FilePlanPermissionServiceImplUnitTest"
|
||||
})
|
||||
public class AllUnitTestSuite
|
||||
{
|
||||
|
Reference in New Issue
Block a user