Skip to content

Conversation

@reeshika-h
Copy link
Contributor

  • snyk fixes
  • added integration tests
  • version ----> v2.3.2

harshithad0703 and others added 30 commits November 3, 2025 18:20
- Configure Surefire to run API tests (*IT.java) by default
- Add 25+ new integration tests (GcpRegion, GlobalFields, Taxonomy)
- Update send-report.sh for automated Slack reporting
- Add maven-surefire-report-plugin for HTML reports

API tests: mvn clean test
Unit tests: mvn clean test -Dtest='Test*' jacoco:report
… additional edge cases and validation scenarios.
…, configurations, factory methods, headers, and various edge cases.
…TestStack class, covering various scenarios including disabled live preview, null parameters, and parameter assignment.
…s, JSON handling methods, edge cases, and token validation scenarios.
…uilding methods, method chaining, and various edge cases.
…g plugin functionality and request/response handling.
…TestStack and TestTaxonomy classes, streamlining test coverage.
… plugins and validating their request/response handling in the Contentstack environment.
harshithad0703 and others added 26 commits November 7, 2025 19:50
…ge checks with output variables, and add PR comment for coverage summary.
…mprove JaCoCo coverage checks with XML report validation, and ensure consistent execution of coverage summary and report upload steps.
…setup to version 9 with Zulu distribution, streamline coverage extraction from JaCoCo HTML report, and enhance PR comment formatting for coverage summary.
…-improvement

improve and enhance 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.
- String.repeat() was introduced in Java 11
- GitHub Actions uses Java 8 (Temurin)
- Added repeatString() helper method for Java 8 compatibility
- All tests remain functional
- Add Java 8 compatibility for test logging
- Configure JaCoCo to use standard output directory
- Allow test pattern specification via -Dtest parameter
… 3.0.0, jackson-databind to 2.19.2, and annotations to 26.0.2 for improved functionality and security.
…ration-tests

feat: Add comprehensive integration test coverage
@github-actions
Copy link

github-actions bot commented Jan 2, 2026

Coverage Summary

  • 📘 Instruction Coverage: 93%
  • 🌿 Branch Coverage: 82%

@harshithad0703 harshithad0703 marked this pull request as ready for review January 5, 2026 05:34
@harshithad0703 harshithad0703 requested a review from a team as a code owner January 5, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants