diff python/grind.py @ 245:66912720d712

Added grinder
author Windel Bouwman
date Wed, 24 Jul 2013 22:40:29 +0200
parents
children 444b9df2ed99
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/python/grind.py	Wed Jul 24 22:40:29 2013 +0200
@@ -0,0 +1,11 @@
+
+import cProfile
+import unittest
+import pstats
+
+if __name__ == '__main__':
+    suite = unittest.TestLoader().discover('.')
+    def runtests():
+        unittest.TextTestRunner().run(suite)
+    s = cProfile.run('runtests()',sort='cumtime')
+