-
Import as new project in IntelliJ (Optional)
- Select build.gradle file then choose check auto-import in settings
-
Must be running the fakeflix api
All tests will be run with the main test target. Other targets can be run to subset of tests (smoke)
./gradlew test
To run specific tests/class use the --tests parameter
./gradlew test --tests=TestClass
./gradlew test --tests=*TestMethod
Reports are generated and stored in build/reports/tests/{Test Target}/index.html
- API
- assert invalid auth/error code
- login with valid auth in header
- assert timing of response
- post with valid payload
- setup, manipulate, and assert data roundtrip