# 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:
- Read test results on allure test report:
- 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.