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 Test Profiling by justquick 4 years, 3 months ago
  2. Query printer coroutine by fnl 4 years ago
  3. Unit Tests That Write Fixtures by justquick 4 years, 3 months ago
  4. UnitTesting without create/destroy database by crucialfelix 4 years, 3 months ago
  5. TestCase helpers by pbx 6 years, 1 month ago

Comments

(Forgotten your password?)