Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: Add explanation how to run the tests #48

Open
petervandenabeele opened this issue Mar 14, 2021 · 0 comments
Open

README: Add explanation how to run the tests #48

petervandenabeele opened this issue Mar 14, 2021 · 0 comments

Comments

@petervandenabeele
Copy link
Contributor

On a Linux box with conda, this could be an explanation on how to get pytest running.

/home/peter_v/anaconda3/bin/python -m pip install --upgrade pip  # to avoid warnings about spyder 4.1.5 versions
make
sudo apt install nodejs  # to avoid massive warnings about RuntimeError: generator didn't stop after throw()

$ poetry run pytest
========================================== test session starts ===========================================
platform linux -- Python 3.8.2, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: /home/peter_v/data/github/vincentclaes/datajob
collected 16 items                                                                                       

datajob_tests/test_datajob_context.py .                                                            [  6%]
datajob_tests/test_datajob_stack.py ....                                                           [ 31%]
datajob_tests/datajob_cli_tests/test_datajob_deploy.py .......                                     [ 75%]
datajob_tests/datajob_cli_tests/test_datajob_execute.py .                                          [ 81%]
datajob_tests/glue/test_glue_job.py .                                                              [ 87%]
datajob_tests/stepfunctions/test_stepfunctions_workflow.py ..                                      [100%]

=========================================== 16 passed in 5.62s ===========================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant