Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Update docs post-pytest overhaul #263

Merged
merged 1 commit into from Sep 4, 2014
Merged

Update docs post-pytest overhaul #263

merged 1 commit into from Sep 4, 2014

Conversation

willkg
Copy link
Member

@willkg willkg commented Sep 3, 2014

r?

@willkg
Copy link
Member Author

willkg commented Sep 3, 2014

This updates all the documentation with py.test things plus adds a pytest.ini file which I think reduces some of the command-line stuff you have to do to run the tests.

@paulcollinsiii Can you review this and point out issues?


Activate the virtual environment, then run the tests::

$ ./manage.py test --nologcapture --nocapture
$ DJANGO_CONFIGURATION="Testing" py.test ./tests/ $@
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can also call with py.test --ds DJANGO_SETTINGS --dc DJANGO_CONFIGURATION to avoid all the env magic if you want.

@willkg
Copy link
Member Author

willkg commented Sep 4, 2014

^^^ I amended to the commit.

@paulcollinsiii Any other thoughts?

@paulcollinsiii
Copy link
Contributor

naw man, looks good to me =)

@willkg
Copy link
Member Author

willkg commented Sep 4, 2014

Awesome! Thank you for looking at it!

willkg added a commit that referenced this pull request Sep 4, 2014
Update docs post-pytest overhaul
@willkg willkg merged commit 2df89ab into pyvideo:master Sep 4, 2014
@willkg willkg deleted the pytest-docs-updates branch September 4, 2014 12:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants