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.

贡献者指南