Skip to content

Updates to testing documentation and runtests.py help #3971

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

Merged
merged 2 commits into from
Sep 18, 2017

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Sep 18, 2017

Fixed things that were out of date and de-emphasized myunit.

print(' %s unit-test -a "*tuple*"' % sys.argv[0])
print(' (run all unit tests with "tuple" in test name)')
print(' %s testcheck (run type checking unit tests only)' % sys.argv[0])
print(' %s "pytest unit-test" -a -k -a Tuple' % sys.argv[0])
Copy link
Member

Choose a reason for hiding this comment

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

I tried this exact command and it seems to find no test:

$ ./runtests.py "pytest unit-test" -a -k -a Tuple
PARALLEL 4
SUMMARY  0 tasks selected
SUMMARY  all 0 tasks and 0 tests passed
*** OK ***
total runtime: 0.01365622878074646 sec
$ 

If I remove the quotes I just get a bunch of usage errors from myunit.

@gvanrossum gvanrossum merged commit cdbb4fc into master Sep 18, 2017
@gvanrossum gvanrossum deleted the update-test-docs branch September 18, 2017 20:30
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

Successfully merging this pull request may close these issues.

2 participants