Skip to content

Commit 7516ace

Browse files
committed
test: add test categorization for better test organization
- Add IntegrationTest and UnitTest marker interfaces - Enable selective test execution based on categories - Support for categorized test runs in CI/CD pipelines
1 parent f20eaa0 commit 7516ace

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.redis.vl.test.categories;
2+
3+
/**
4+
* Marker interface for integration tests that require external resources. These tests typically
5+
* need Redis, download models, or make API calls.
6+
*/
7+
public interface IntegrationTest {}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.redis.vl.test.categories;
2+
3+
/**
4+
* Marker interface for slow tests that should be excluded from regular builds. These tests
5+
* typically involve network calls, large file downloads, or long-running operations.
6+
*/
7+
public interface SlowTest {}

0 commit comments

Comments
 (0)