facebook / facebook/TestSlide

Fix setUpModule and tearDownModule

Open
#97 0 comments 0 reactions 1 assignee Claimed by @deathowl View on GitHub
bug help wanted Python Unittest
Dominant language
Python
Stars
149
Forks
62
PR merge metrics
No merged PRs in 30d

Description

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.