From: David Kerkeslager Date: Wed, 17 Jul 2019 22:09:46 +0000 (-0400) Subject: Make it easier to run without memory leak tests X-Git-Url: https://code.kerkeslager.com/?p=fur;a=commitdiff_plain;h=37d4a702fda63b87c1482a59b2ef4c1bba2e3696;hp=ae1df65cae00af0b46f0fbc8868b5f82c6aacc1d Make it easier to run without memory leak tests --- diff --git a/README.md b/README.md index 2b7ff47..d00a607 100644 --- 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 diff --git a/integration_tests.py b/integration_tests.py index a4d7c67..5faf695 100644 --- a/integration_tests.py +++ b/integration_tests.py @@ -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):