[Migrated] Discussion: A new testing library #459
Labels
duplicate
This issue or pull request already exists
feature-request
Request/idea regarding new and/or improved functionality
good-idea
Originally from: Miserlou/Zappa#1224 by bxm156
Obviously there are many issues on this project that are also a high priority, but I was hoping to have some discussion on the future of tests/testing in Zappa. My hope is that this initial discussion will help establish a direction and preferred testing library for new tests (and eventually migrating existing ones).
From http://nose.readthedocs.io/en/latest/:
As Zappa grows, the current tests are going to need to be refactored. I think when new tests are written and old/existing ones are updated, it may be worth converting them to a newer, maintained testing library. The tests are currently all in a few large files, and they are not organized very well. There are also very large constructs to mimic api gateway data that make navigating these files annoying. In short, ```tests/```` definitely could use some love ❤️.
I personally use
tox
+py.test
at both home and work, which I have come to really enjoy. py.test is very pythonic, supports dependency injection, test parameterization, is easily configurable, and supports plugins.Using tox for testing relates somewhat to #813
The text was updated successfully, but these errors were encountered: