pytest-envvars
pytest-envvars copied to clipboard
Sample app
Create a sample app using either django and flask to explain use of pytest-envvars.
I'll take this one :)
I'll start with django though.
i'll take this and i will work on flask
@rafaelhenrique can you briefly describe what exactly is your expectation
Yep @nishant-sethi ...
Accourding readme...
pytest-envvars randomize values of environment variables on your unit tests to check consistency of mocks about configuration. If the test has a wrong mock, this test will be broken.
So... we need create sample of use on django and flask, to improve documentation. To do this, we need create simple apps, with tests.... some tests needs fail when pytest call plugin, and another tests needs pass when pytest call plugin. Writing this apps is more easily explain the purpouse of plugin to another people.
Thanks @nishant-sethi !
@lsantosdemoura I talked to a friend and he gave me the idea of creating a samples folder in the same project, what do you think?
I think this is sounds good, because we dont need maintain a new branch and dont need maintain a new repository.
That really makes more sense, creating a folder with the implementations is better than different branches for each one, I'll change that on the project and make(would it be a "do"?) a PR
Yep, the common stream of github is a..
fork project ->
use your fork ->
change things ->
make pull request on original project using your fork
On your fork you add an sample directory like this:
sample ->
django_project ->
your source code here
Sounds good @lsantosdemoura ?
Yep! Sounds great!