| name | testing |
|---|---|
| description | Use for JUnit tests, integration (*IT) tests, fixtures, and credentials handling in contentstack-java. |
- Adding unit tests (
Test*classes) or integration tests (*IT) - Debugging failures that need stack credentials
- Unit tests (
Test*pattern in CI snippet) exercise SDK logic with mocks/fixtures. - Integration tests (
*IT) may call live services—require valid credentials and environment; seeCredentials.javaand test base classes.
- Surefire supports
-Dtest=...patterns documented inpom.xml—use to iterate quickly without the full IT suite.
- Never commit API keys or delivery tokens; use env/secret patterns already established in tests.