Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
4037b16a
Commit
4037b16a
authored
Feb 12, 2016
by
Kevin Falcone
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11519 from edx/jibsheet/document-nose-breakpoints-twice
Copy this doc up from the bok_choy tests.
parents
7a9fea02
21b75f83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
docs/en_us/internal/testing.rst
+10
-1
No files found.
docs/en_us/internal/testing.rst
View file @
4037b16a
...
...
@@ -270,6 +270,14 @@ will drop you into pdb on error. This lets you go up and down the stack
and see what the values of the variables are. Check out `the pdb
documentation <http://docs.python.org/library/pdb.html>`__
Use this command to put a temporary debugging breakpoint in a test.
If you check this in, your tests will hang on jenkins.
::
from nose.tools import set_trace; set_trace()
Note: More on the ``--failed`` functionality
* In order to use this, you must run the tests first. If you haven't already
...
...
@@ -407,7 +415,8 @@ test case method.
During acceptance test execution, log files and also screenshots of
failed tests are captured in test\_root/log.
Use this command to put a debugging breakpoint in a test.
Use this command to put a temporary debugging breakpoint in a test.
If you check this in, your tests will hang on jenkins.
::
...
...
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