-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUnitTestSuite.java
More file actions
43 lines (39 loc) · 1.39 KB
/
Copy pathUnitTestSuite.java
File metadata and controls
43 lines (39 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.contentstack.cms;
import com.contentstack.cms.core.AuthInterceptorTest;
import com.contentstack.cms.core.EndpointTest;
import com.contentstack.cms.stack.AssetUnitTest;
import com.contentstack.cms.stack.EntryVariantUnitTest;
import com.contentstack.cms.stack.EnvironmentUnitTest;
import com.contentstack.cms.stack.GlobalFieldUnitTests;
import com.contentstack.cms.stack.LocaleUnitTest;
import com.contentstack.cms.stack.ReleaseUnitTest;
import com.contentstack.cms.stack.TaxonomyTest;
import org.junit.platform.runner.JUnitPlatform;
import org.junit.platform.suite.api.SelectClasses;
import org.junit.runner.RunWith;
/**
* Unit Test Suite for running all unit tests
* These tests don't require API access or credentials
*
* Note: Only public test classes can be included here.
* Many unit test classes in the project are package-private and
* cannot be referenced in this suite.
*/
@SuppressWarnings("deprecation")
@RunWith(JUnitPlatform.class)
@SelectClasses({
// Core tests
AuthInterceptorTest.class,
ContentstackUnitTest.class,
EndpointTest.class,
// Stack module tests (only public classes)
AssetUnitTest.class,
EntryVariantUnitTest.class,
EnvironmentUnitTest.class,
GlobalFieldUnitTests.class,
LocaleUnitTest.class,
ReleaseUnitTest.class,
TaxonomyTest.class
})
public class UnitTestSuite {
}