Skip to content

GitHubVadym/twitter-api-test-in-docker

Repository files navigation

Twitter Api tests

This is a sample project demonstrating how to test Twitter Api

Build with:

There are 2 ways to run tests in this Project:

1. Run tests in docker

Build docker image and start containers with command in terminal:

./run_docker.sh

Stop and remove containers with command in terminal:

docker-compose down

Rebuild image (after changes in src or POM.xml) and start containers with command in terminal:

./run_docker.sh rebuild

Check Allure report on http://localhost:4040

2. Run tests localy

Run command in terminal:

mvn clean test

Reporting

Prerequisites: Install Allure command line - Allure Installation Guide

After build is finished Allure results will appear in target/allure-results folder. Allure attach detailed request and response to each test. To generate html report and automatically open it in a web browser, run the following command:

$ allure serve target/allure-results

Allure report example: allure-report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published