Changes between Initial Version and Version 1 of Ticket #32609, comment 7


Ignore:
Timestamp:
Jun 9, 2021, 5:23:49 AM (3 years ago)
Author:
Chris Jerdonek

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32609, comment 7

    initial v1  
    77In other words, it fixes this issue that Carlton encountered when running `runtests.py`: https://github.com/django/django/pull/14180#pullrequestreview-624099857
    88
    9 As for the rest of the points, I'm not sure any longer if it's possible or desirable to call `DiscoverRunner.build_suite()`s logic from within `runtests.py`. The reason is that there's a bootstrapping issue: To load tests you need to do `runtests.py`'s setup, but to do `runtests.py`'s setup, you first have to know what the needed test modules are. This is after developing a better understanding of `runtests.py` in the course of working on #32668.
     9As for the rest of the points, I'm not sure any longer if it's possible or desirable to call `DiscoverRunner.build_suite()`'s logic from within `runtests.py`. The reason is that there's a bootstrapping issue: To load tests you need to do `runtests.py`'s setup, but to do `runtests.py`'s setup, you first have to know what the needed test modules are. This is after developing a better understanding of `runtests.py` in the course of working on #32668.
    1010
Back to Top