@@ -40,20 +40,20 @@ Before running the tests, ensure you have the following installed and configured
4040cd apiTest
4141
4242# Run all tests
43- ../gradlew test
43+ gradle test
4444
4545# Run tests with more verbose output
46- ../gradlew test --info
46+ gradle test --info
4747
4848# Run tests with debug output
49- ../gradlew test --debug
49+ gradle test --debug
5050```
5151
5252### From the apiTest Directory
5353
5454``` bash
5555# If you're already in the apiTest directory
56- ../gradlew test
56+ gradle test
5757```
5858
5959### What Happens When You Run Tests
@@ -71,10 +71,10 @@ cd apiTest
7171
7272``` bash
7373# Run a specific test class
74- ../gradlew test --tests " RootApiTest"
74+ gradle test --tests " RootApiTest"
7575
7676# Run a specific test method
77- ../gradlew test --tests " RootApiTest.root_endpoint_should_be_ok"
77+ gradle test --tests " RootApiTest.root_endpoint_should_be_ok"
7878```
7979
8080## Test Reports
@@ -102,15 +102,15 @@ These XML reports are useful for CI/CD integration.
102102### Issue: "Could not start Gradle Test Executor 1: Failed to load JUnit Platform"
103103
104104** Solution:** This should be resolved with the current configuration. If you see this error:
105- 1 . Clean the build: ` ../gradlew clean`
106- 2 . Rebuild: ` ../gradlew build`
105+ 1 . Clean the build: ` gradle clean`
106+ 2 . Rebuild: ` gradle build`
107107
108108### Issue: "no main manifest attribute, in /app/apiTest-0.0.999.jar"
109109
110110** Solution:** This means the Docker build context is wrong. Ensure:
1111111 . The ` docker-compose.yml ` has ` context: .. ` (builds from root directory)
1121122 . The root project's ` bootJar ` is built before Docker build
113- 3 . Run: ` ../gradlew buildRootBootJar` manually if needed
113+ 3 . Run: ` gradle buildRootBootJar` manually if needed
114114
115115### Issue: Container exits with code 1
116116
0 commit comments