facebook / facebook/TestSlide

Fix setUpModule and tearDownModule

Aperta
#97 0 commenti 0 reazioni 1 assegnatario Rivendicata da @deathowl Vedi su GitHub
bug help wanted Python Unittest
Lingua principale
Python
Stelle
149
Fork
62
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently the test runner does not respect https://docs.python.org/3/library/unittest.html#setupmodule-and-teardownmodule, this needs fixing.

This is somewhat related to #51 , as we should probably reuse Python's test loader / runner, and hook TestSlide into them, so we can avoid similar potential issues in the future.

This will likely require implementing `@context.before_once` and `@context.after_once` at TestSlide's DSL.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.