facebook/TestSlide

Fix setUpModule and tearDownModule

Open

#97 aberto em 28 de nov. de 2019

Ver no GitHub
 (0 comments) (0 reactions) (1 assignee)Python (58 forks)auto 404
Python Unittestbughelp wanted

Métricas do repositório

Stars
 (147 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador