Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: Add comprehensive integration test coverage
- Add 18 new integration test suites covering advanced SDK features
- Add utility classes for test helpers and performance assertions
- Optimize test execution with parallel processing
- Update Credentials management for better security

Test suites include coverage for:
- Complex query scenarios (AND/OR/NOT operations)
- Deep reference fetching and nested structures
- JSON RTE with embedded items
- Modular blocks and global fields
- Locale fallback mechanisms
- Field projection and pagination
- Asset management operations
- Error handling and retry logic
- Sync operations and metadata

All tests passing with optimized execution time.
  • Loading branch information
AniketDev7 committed Nov 24, 2025
commit e6705e74f8a6ce2f2ad49c3a6bc9e966ee808d9b
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,4 @@ src/main/resources/
/src/main/java/com/contentstack/sdk/models/
/.vscode/
/.vscode/
/docs/
26 changes: 26 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,34 @@
<include>**/*IT.java</include>
</includes>
<skipTests>true</skipTests>
<!-- OPTIMIZED: Parallel execution with controlled concurrency -->
<parallel>classes</parallel>
<threadCount>4</threadCount>
<perCoreThreadCount>false</perCoreThreadCount>
<useUnlimitedThreads>false</useUnlimitedThreads>
<!-- Reuse forks for better performance -->
<reuseForks>true</reuseForks>
<forkCount>2</forkCount>
<!-- Increase timeout for slow tests -->
<forkedProcessTimeoutInSeconds>500</forkedProcessTimeoutInSeconds>
<!-- Better memory management -->
<argLine>-Xmx2048m -XX:MaxMetaspaceSize=512m</argLine>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.22.2</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>report-only</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
164 changes: 0 additions & 164 deletions src/test/java/com/contentstack/sdk/AssetLibraryIT.java

This file was deleted.

Loading
Loading