Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Modernize the unittest support classes #86

Closed
ghost opened this issue Aug 26, 2016 · 3 comments
Closed

Modernize the unittest support classes #86

ghost opened this issue Aug 26, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 26, 2016

Originally reported by: Anselm Kruis (Bitbucket: akruis, GitHub: akruis)


The Stackless unittests have a long history and it is required to run them twice: with and without soft switching. This makes it inconvenient to run all or some tests from an IDE.

During my work on https://bitbucket.org/stackless-dev/stackless-testsuite I created support classes, that play nice with IDEs. Now I used these classes as a starting point to modernize Stackless/unittests/support.py. With the new implementation, it is no longer required to run the test suite twice. Instead for each test method testSomething() a second method testSomething_H() is created, that runs with soft switching disabled.

I'll create a pull request, because this change requires a review.


@ghost
Copy link
Author

ghost commented Aug 26, 2016

Original comment by Anselm Kruis (Bitbucket: akruis, GitHub: akruis):


It is pull request #16 for 2.7-slp

@ghost
Copy link
Author

ghost commented Sep 4, 2016

Original comment by Anselm Kruis (Bitbucket: akruis, GitHub: akruis):


I just merged pull request #16 into 2.7-slp.

@ghost
Copy link
Author

ghost commented Nov 12, 2016

Original comment by Anselm Kruis (Bitbucket: akruis, GitHub: akruis):


Implemented:

  • 3.3-slp: d523e990aafa
  • 3.4-slp: eeb94260771f
  • default-slp: 0c82fa22fcc8

@ghost ghost added this to the 3.3.7-slp milestone Sep 24, 2017
@ghost ghost closed this as completed Sep 24, 2017
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

0 participants