-
-
Notifications
You must be signed in to change notification settings - Fork 94
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Priority: MEDIUM
Effort: 3 days
Phase: Phase 1 - Foundation
Week: 1-2 (Dependency Cleanup)
Description
Extract common test utilities to arcadedb-test-utils module
Steps
- Create new Maven module:
test-utils/ - Create pom.xml with test dependencies (JUnit 6, TestContainers, etc.)
- Extract common test utilities from server test-jar:
- Database builders
- Test data generators
- Assertion helpers
- TestContainers configurations
- Update all modules using server test-jar to depend on test-utils
- Remove test-jar packaging from server module
- Update build configuration
- Run full test suite
Files to Create
test-utils/pom.xmltest-utils/src/main/java/com/arcadedb/test/TestDatabaseFactory.javatest-utils/src/main/java/com/arcadedb/test/TestDataBuilder.javatest-utils/src/main/java/com/arcadedb/test/AssertHelpers.java
Files to Modify
pom.xml(add test-utils module)- All modules with test-jar dependency (gremlin, graphql, etc.)
server/pom.xml(remove test-jar packaging)
Acceptance Criteria
- test-utils module created
- No modules depend on server test-jar
- All tests pass
- Test utilities are reusable
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request