Decorator for printing unit test name

1
2
3
4
5
def print_test_name(f):
    def fn(self):
        print f.__name__
	f(self)
    return fn

More like this

  1. Unit testing Django model mixins by michaelmior 4 months ago
  2. Unit Test Profiling by justquick 3 years, 3 months ago
  3. Forcing unit test runner to abort after failed test by simonbun 5 years ago
  4. Reset cache between tests by peterbe 2 years, 6 months ago
  5. TestCase helpers by pbx 5 years, 2 months ago

Comments

(Forgotten your password?)