]> code.kerkeslager.com Git - fur/commitdiff
Make it easier to run without memory leak tests
authorDavid Kerkeslager <kerkeslager@gmail.com>
Wed, 17 Jul 2019 22:09:46 +0000 (18:09 -0400)
committerDavid Kerkeslager <kerkeslager@gmail.com>
Wed, 17 Jul 2019 22:09:46 +0000 (18:09 -0400)
README.md
integration_tests.py

index 2b7ff476ac476df5cdc49c50988a15707ee993f8..d00a607e12eb49cab49ffdb702e33ccd018ed2e9 100644 (file)
--- a/README.md
+++ b/README.md
@@ -11,7 +11,8 @@ furry animals, so Fur is named in their honor.
 
 ## Integration tests
 
-To run the unit tests, run `python integration_tests.py`.
+To run the unit tests, run `python integration_tests.py`. You can test just the output of the examples or just the memory usage of the tests by running
+`python integration_tests.py OutputTests` or `python integration_tests.py MemoryLeakTests` respectively.
 
 # Running
 
index a4d7c672ccc564d03cdf74fe349d02319dfbd7a1..5faf695d28065d7f53db0b723316639cc52a6059 100644 (file)
@@ -61,7 +61,7 @@ def add_example_output_test(filename):
 
     setattr(OutputTests, 'test_' + filename, test)
 
-class MemoryLeakTest(unittest.TestCase):
+class MemoryLeakTests(unittest.TestCase):
     pass
 
 def add_example_memory_leak_test(filename):