Skip to content

ljagiela/rest-service-automation

Repository files navigation

mock-service test automation

Running tests

Tested environment can be configured with env project property. Possible values are localhost, stg. Default value is stg.

Run all tests (stg):

./gradlew clean test

Supported params:

  • --tests MetadataTest.shouldReturnValidMetadataForValidSubject - to run specific test (MetadataTest (class) suite -> shouldReturnValidMetadataForValidSubject method/test)
  • -Penv=(localhost|stg) - to run on specific env

Reporting

To generate and host reports locally run:

./gradlew allureReport allureServe

Development tools

About

an example of test automation project for simple rest service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published