facebook/TestSlide

Fix setUpModule and tearDownModule

Open

#97 geöffnet am 28. Nov. 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Python (58 Forks)auto 404
Python Unittestbughelp wanted

Repository-Metriken

Stars
 (147 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide