facebook / facebook/TestSlide

Fix setUpModule and tearDownModule

未关闭
#97 0 条评论 0 个 reaction 已指派 1 人 已被 @deathowl 认领 在 GitHub 查看
bug help wanted Python Unittest
主要语言
Python
星标
149
派生
62
PR 合并指标
30 天内没有已合并 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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。