Nothing Special   »   [go: up one dir, main page]

Skip to content

API Test project : RestAssured , Junit5 with Swagger UI and Docker to run App for test

Notifications You must be signed in to change notification settings

77ripdrive/API_tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DemoProgectWithAPITests

hello-world-challenge

hello-world-challenge

Simple Java application built with Quarkus framework. Used as a sample application for "challenge" (test) task for candidates on Test Automation Engineer position

Story and Challenge Task

As a user
I want to send Hello request
So that I am greeted by the app in response

For the challenge task, it is required to create a test automation project and cover the story above with a set of automated tests (minimum of 1 positive and 1 negative scenario, but the more the merrier).

Run App with Docker

% docker run -p 8080:8080 -d letsrokk/hello-world-challenge:latest

Run App with Java

% java -jar hello-world-challenge-runner.jar 
2019-10-23 15:12:33,730 INFO  [io.quarkus] (main) Quarkus 0.23.2 started in 1.640s. Listening on: http://0.0.0.0:8080
2019-10-23 15:12:33,737 INFO  [io.quarkus] (main) Profile prod activated. 
2019-10-23 15:12:33,738 INFO  [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-h2, narayana-jta, resteasy, resteasy-jackson, smallrye-openapi, swagger-ui]

By default, application runs on port 8080

Latest version of JAR-file can be found in Releases on GitHub

App Documentation

Swagger UI is available on

http://localhost:8080/challenge/swagger-ui/

About

API Test project : RestAssured , Junit5 with Swagger UI and Docker to run App for test

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages