Giter Site home page Giter Site logo

test-automation-task's Introduction

test-automation-task

Command Line Instructions:

# install pip requirements:
$ pip install -r requirements.txt

# install allure reports
$ brew untap qameta/allure
$ brew update
$ brew install allure

# run tests locally
# you can change x and y values for whatever int value you want i.e (-100, 100)
$ pytest smoke/test_api.py -v --x=-10 --y=10 --alluredir=test-report

# run allure reports
$ allure serve test-report/

You can use one of the following ways to read tests reports

  • Read pytest test result on the command line:

Command Line

Command Line

  • Read test results on allure test report:

Allure Report

Allure Report

Questions

  1. In a typical test scenario not all input values can be tested. Are there specific value ranges to test for each operation and explain why the defined range is important?

Answer: in the selection of variables there is a method called boundary value partitioning, basically it is to look for the expected values and the edge conditions of each variable.

It is important because we must consider the concurrent data entry and the correct isolation between each session that is manipulating the values of the variables.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.