Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
devstack
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
devstack
Commits
037edcfb
Commit
037edcfb
authored
Nov 07, 2017
by
Jeremy Bowman
Committed by
Jeremy Bowman
Nov 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Update Pycharm test setup docs for pytest
parent
4b9e92b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
docs/pycharm_integration.rst
+13
-6
No files found.
docs/pycharm_integration.rst
View file @
037edcfb
...
...
@@ -212,12 +212,19 @@ configuration with the following options:
4. Deselect "Add content..." and "Add source..."
Then set the "Tools -> Python Integrated Tools -> Default test runner"
preference to "py.test", apply the change, and restart PyCharm. You should
now be able to execute any individual test file via its context menu, or to
run custom sets of tests by creating a custom py.test Run/Debug configuration
(which should now be initialized with the defaults above) and setting its
"Target" appropriately.
Then make two changes in PyCharm's preferences:
1. Set "Tools -> Python Integrated Tools -> Default test runner" to "py.test".
2. In "Languages & Frameworks -> Django", uncheck "Enable Django Support".
Starting in PyCharm 2017.3 (the EAP of which is already available), this
dialog has a "Do not use Django test runner" checkbox which should be
enabled instead.
You should now be able to execute tests via the context menu of test files,
classes, or individual test cases. You can also run custom sets of tests by
creating a custom py.test Run/Debug configuration (which should now be
initialized with the defaults above) and setting its "Target" appropriately.
Currently not supported for PyCharm Development
-----------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment