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

DOC: Demo incorporating pytest into test classes #15989

Merged
merged 2 commits into from
Apr 13, 2017

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Apr 13, 2017

Title is self-explanatory. Also changes CI GitHub UI photo to illustrate what most users (who are non-owners) will see (i.e. no "squash and merge").

#15987 (comment)

@jreback jreback added Docs Testing pandas testing functions or related to the test suite labels Apr 13, 2017
@jreback jreback added this to the 0.20.0 milestone Apr 13, 2017
@@ -701,6 +701,18 @@ Tests that we have ``parametrized`` are now accessible via the test name, for ex
test_cool_feature.py::test_dtypes[int8] PASSED
test_cool_feature.py::test_series[int8] PASSED

Sometimes, it does make sense to bundle test functions together into a single class, either because the test file is testing multiple functions from a single module, and
Copy link
Contributor

Choose a reason for hiding this comment

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

can you make this a ::note ?

Copy link
Contributor

Choose a reason for hiding this comment

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

actually, let's split this out to a section after 'Writing Tests' and before 'Parametrize' (you may want to move some prose from Parametrize that is related to this as well).

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure thing. Done.

@jreback
Copy link
Contributor

jreback commented Apr 13, 2017

nice picture!

The original photo showed the CI GitHub UI for an
owner of the repository, which is not representative
of what most contributors will see.
@gfyoung
Copy link
Member Author

gfyoung commented Apr 13, 2017

@jreback All comments addressed. Ready to merge if nothing else.

@jreback jreback merged commit cd35d22 into pandas-dev:master Apr 13, 2017
@jreback
Copy link
Contributor

jreback commented Apr 13, 2017

thanks!

@gfyoung gfyoung deleted the testing-doc-patches branch April 14, 2017 02:13
@gfyoung gfyoung mentioned this pull request Apr 14, 2017
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants