Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test execution

  • Clone project as Gradle project
  • Execute Gradle building to import dependencies
  • Navigate to project's directory using Terminal

2 options to run tests

1st option

  • Change value of immediateFlush to true in Log4j2 configuration file src/main/resources/log4j2.xml to log tests' info to logs/log.log file
  • Execute command gradlew check

2nd option

  • Execute command gradlew check -i

Describe...

what else you would like to test, but was unable to do this because there is not enough information provided in this test assignment or this just was not requested by this test assignment.

Test candidates:

  • POST callback request
  • Responses' check for invalid:
    • payoutId for "/payouts/{payoutId}" endpoint (GET)
    • JSON body for "/payouts" endpoint (POST)
      • Schema
      • Parameters' type
      • Arbitrary long values

Improvement ideas:

  • Implement (find out?) a possibility to merge JSON objects in order to test different occasions, where JSON objects share common part
  • Extract value from request
    • Value usage in response body
    • Save value and compose new JSON-file with the value inside
  • Since it's first time Gradle usage, there is a room for studying its possibilities further

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages