You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Switch to using unittest.main and custom runner for unittest design #22388
This limits our ability to run tests as similar to how they are run in the command line and to move all heavy lifting over to unittest.
Instead we should use unittest.main(module='__main__', testRunner=None, ... with a custom testRunner that is already written to run unittest. Therefore we can more easily just run any args provided and then also gives users more flexibility. This change is similar in design to that of adding Django support with the use of the testRunner argument.
Looking for community input on useful this change is. Additionally the issues I think it would help with are as follows:
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
Reacted by Michael D. Smith, Clayton Whittaker, Mark Nemec, Antonio Gámiz Delgado, Björn Ricks, Ruslan Borovilov, samjoy1234, Carlton Gibson, Dan Ryan, Luciano de la Iglesia and 10 more
Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue.
This is basically the main missing element in the Django support.
Django being quite a large Python web framework, it seems in everyone's interest to add this.
I'm not sure if anyone in the Django community was aware there was an issue to show support for, or that there was a time limit for it to be voted on, but I'm glad it's been reopened. I don't know if Code has any community outreach but that would have been handy: there are lots of Django folks using it.
👍
Reacted by samjoy1234, Oussama EL GHANNAMI, Olivier Philippon, Dan Ryan, Kevin Renskers, Víðir Valberg Guðmundsson, DJ Ramones, Anthony Bosio, Sarah Abderemane, applewebbo and 18 more
Hi! This is a priority for us but is blocked on some work we have to do related to custom arguments which will enable setting the django variables required to use manage.py. The main issue which tracks this work and our proposed design can be found here: #22206 but it is based off a historical issue #73 with the request. It is the most highly voted feature on a repo so it is a priority for us and we are working to get there. Thanks!
Reacted by Carlton Gibson, Alexander Kavanaugh, Mahdi, Clayton Whittaker, Oussama EL GHANNAMI, Tobias Due Munk, khamaileon, Hans Grießer, Jordi Loyzaga, Carlos Rosquillas and 5 more
Activity
github-actions commentedon Oct 30, 2023
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
brettcannon commentedon Jan 11, 2024
Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue.
eleanorjboyd commentedon Jan 11, 2024
This will be required for switching to using Django so it will be a step as we implement that change.
carltongibson commentedon Feb 2, 2024
This is basically the main missing element in the Django support.
Django being quite a large Python web framework, it seems in everyone's interest to add this.
I'm not sure if anyone in the Django community was aware there was an issue to show support for, or that there was a time limit for it to be voted on, but I'm glad it's been reopened. I don't know if Code has any community outreach but that would have been handy: there are lots of Django folks using it.
👍
eleanorjboyd commentedon Feb 2, 2024
Hi! This is a priority for us but is blocked on some work we have to do related to custom arguments which will enable setting the django variables required to use manage.py. The main issue which tracks this work and our proposed design can be found here: #22206 but it is based off a historical issue #73 with the request. It is the most highly voted feature on a repo so it is a priority for us and we are working to get there. Thanks!