facebook/TestSlide

Can't configure TestCase

Open

#48 opened on Aug 23, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (58 forks)auto 404
Python Unittestenhancementhelp wanted

Repository metrics

Stars
 (147 stars)
PR merge metrics
 (PR metrics pending)

Description

TestSlide has a hacky support for TestCase.assert* methods. While this works, it prevents users from tweaking things such as maxDiff.

The proposed solution to fix this is:

With that, users should be able to do self.test_case.maxDiff = new_value.

Contributor guide