Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template for Rest API with Docker and WireMock #70

Open
vvolverine opened this issue Mar 25, 2020 · 0 comments
Open

Template for Rest API with Docker and WireMock #70

vvolverine opened this issue Mar 25, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@vvolverine
Copy link
Contributor

vvolverine commented Mar 25, 2020

Narrative

As a new user for Sprimber, I want to have reference template for test automation framework that capable for service based testing, so that I can on-board new project easily and quickly.

Technical Details

  • Create new module under the sprimber-examples and name it spimrber-rest-template
  • prepare layer package structure - steps for steps, pages objects for page objects, etc
  • design several positive and negative smoke tests. mainly the execution time for each of them should be short
  • implement this tests as feature files
  • design and implement necessary steps and services
  • prepare the step by step documentation in Spring style of how-to for this template in adoc format and publish it to GitHub pages
  • see the details about the application under test in paragraph below

Application Under test

  • Pick the WireMock as a beautiful service for stubbing and mocking.
  • Start it as a separate Java process and implement steps that will configure some basic mapping before each scenario(like as a Background). For simplification stub may not contain state.
  • Using Retrofit implement client for this service
  • as a final point - containerize the WireMock using docker and prepare docker-compose file to start it.

Documentation

Prepare the how-to documentation that will explain how to prepare the environment as well with details steps how to build test automation application using technologies mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants