-
Type: User story
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Nuxeo Drive
In order to factorize all tests annotations, typically:
@RunWith(FeaturesRunner.class) @Features({ TransactionalFeature.class, PlatformFeature.class }) @RepositoryConfig(repositoryName = "default", init = DefaultRepositoryInit.class, cleanup = Granularity.METHOD) @Deploy({ "org.nuxeo.ecm.platform.userworkspace.types", "org.nuxeo.ecm.platform.userworkspace.api", "org.nuxeo.ecm.platform.userworkspace.core", "org.nuxeo.drive.core" }) public class TestNuxeoDriveManager { ... }
@RunWith(FeaturesRunner.class) @Features(EmbeddedAutomationServerFeature.class) @RepositoryConfig(cleanup = Granularity.METHOD) @Deploy({ "org.nuxeo.drive.core", "org.nuxeo.drive.operations" }) @Jetty(port = 18080) public class TestGetChangeSummary { ... }
@RunWith(FeaturesRunner.class) @Features(EmbeddedAutomationServerFeature.class) @RepositoryConfig(cleanup = Granularity.METHOD) @Deploy({ "org.nuxeo.drive.core", "org.nuxeo.drive.operations" }) @LocalDeploy("org.nuxeo.drive.operations:test-other-repository-config.xml") @Jetty(port = 18080) public class TestGetChangeSummaryMultiRepo { ... }
This will ease maintenant and reduce the kind of effort needed for NXP-14367
- is required by
-
NXP-14367 speedup tests execution
- Resolved