Skip to content

mstrenz/restAssuredPOC

Repository files navigation

GETTING STARTED

  • Java 11 SDK

  • Import as new project in IntelliJ (Optional)

    • Select build.gradle file then choose check auto-import in settings
  • Must be running the fakeflix api

RUNNING TESTS FROM COMMAND LINE

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

Reports are generated and stored in build/reports/tests/{Test Target}/index.html

DOCS

Rest Assured

TEST SCENARIOS

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages