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 1 week, 6 days ago
  2. Unit Test Profiling by justquick 3 years ago
  3. Forcing unit test runner to abort after failed test by simonbun 4 years, 8 months ago
  4. Reset cache between tests by peterbe 2 years, 2 months ago
  5. TestCase helpers by pbx 4 years, 10 months ago

Comments

(Forgotten your password?)