facebook/TestSlide

Fix setUpModule and tearDownModule

Open

#97 建立於 2019年11月28日

在 GitHub 查看
 (0 留言) (0 反應) (1 負責人)Python (58 fork)auto 404
Python Unittestbughelp wanted

倉庫指標

Star
 (147 star)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南