Skip to content

Template for Rest API with Docker and WireMock #70

Description

@vvolverine

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions