Skip to content

myknech/pytest_passing_variable_e2e

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository is part of investigation on how to pass variable from some external command or env variable to every Pytest test in a suite

The setup uses as SUT jar of API Challenges by Alan Richardson AKA Evil Tester.

The jar itself taken from https://github.com/eviltester/thingifier/releases , the explanations about it could be found at https://www.eviltester.com/page/tools/apichallenges/

At present it runs with a variable baseurl, set as default in conftest.py under 'test' folder.

I was able to run test with Python 3.9 and Pycharm.

About

Investigation on how to pass some variable from outside (env variable, cli parameter) to every test with pytest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages