Because of the multi-process nature of the test runner, this would only be
possible if we were running with {{{--parallel=1}}}.
--
Ticket URL: <https://code.djangoproject.com/ticket/30676>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* type: Uncategorized => New feature
* stage: Unreviewed => Accepted
Comment:
We should probably make the option default to `ipdb` if it's installed
like we do with `manage.py shell` for IPython.
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:1>
* status: new => assigned
* owner: nobody => Andrew Godwin
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:2>
Comment (by Andrew Godwin):
Agreed - I have opened a [https://github.com/django/django/pull/11629 PR]
with my solution for this.
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:3>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:4>
* needs_docs: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:5>
* needs_docs: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:6>
Comment (by Carlton Gibson):
This is great.
> ...this would only be possible if we were running with
{{{--parallel=1}}}.
As per my comment on the PR, if I pass `--pdb` could `--parallel=1` be
implied? (I **always** want that right?)
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:7>
Comment (by Andrew Godwin):
I wasn't super happy about implying it, but I guess we could?
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:8>
Comment (by Carlton Gibson):
OK. (We can always come back if people decide they want that.). Good work.
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:9>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"052388aba47ba7166886fc741cac5ce3b22fea58" 052388ab]:
{{{
#!CommitTicketReference repository=""
revision="052388aba47ba7166886fc741cac5ce3b22fea58"
Fixed #30676 -- Added --pdb option to test runner.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:10>
Comment (by GitHub <noreply@…>):
In [changeset:"f46452638885d89cacfca6831e0b9982c87b6527" f4645263]:
{{{
#!CommitTicketReference repository=""
revision="f46452638885d89cacfca6831e0b9982c87b6527"
Refs #30676 -- Added test for invalid --pdb and --parallel usage in
DiscoverRunner.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:11>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"2c43840dfba42ed02574a270d826fda08e4b50d1" 2c43840]:
{{{
#!CommitTicketReference repository=""
revision="2c43840dfba42ed02574a270d826fda08e4b50d1"
Refs #30676 -- Added pdb argument to DiscoverRunner docs.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:12>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"33457aa3cfc775c2939547212fbb403c46c9afd9" 33457aa3]:
{{{
#!CommitTicketReference repository=""
revision="33457aa3cfc775c2939547212fbb403c46c9afd9"
[3.1.x] Refs #30676 -- Added pdb argument to DiscoverRunner docs.
Backport of 2c43840dfba42ed02574a270d826fda08e4b50d1 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:13>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"b44e2d62c0993589726914b4edf8f6063abac257" b44e2d62]:
{{{
#!CommitTicketReference repository=""
revision="b44e2d62c0993589726914b4edf8f6063abac257"
[3.0.x] Refs #30676 -- Added pdb argument to DiscoverRunner docs.
Backport of 2c43840dfba42ed02574a270d826fda08e4b50d1 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30676#comment:14>