Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maaku/scenariotest
Combines a prototypical test case with a list of dictionaries (each a dict of keyword arguments) and transforms the two into a series of unittest-compatible test cases.
https://github.com/maaku/scenariotest
Last synced: about 1 month ago
JSON representation
Combines a prototypical test case with a list of dictionaries (each a dict of keyword arguments) and transforms the two into a series of unittest-compatible test cases.
- Host: GitHub
- URL: https://github.com/maaku/scenariotest
- Owner: maaku
- License: mit
- Created: 2013-09-12T22:18:23.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T19:41:54.000Z (almost 3 years ago)
- Last Synced: 2024-04-24T14:29:39.067Z (8 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
scenariotest
============This testing helper-class was taken from a gist written by github user
‘bigjason’. It combines a prototypical test case with a list of dictionaries
(each a dict of keyword arguments) and transforms the two into a series of
unittest-compatible test cases. The advantage of this approach is that an
identical test can be applied to multiple scenarios with minimal repetition
of code, while still having each scenario tested independently and reported
to the user by the test runner.Example of usage can be found in the file xunit.py, or on
bigjason's blog post which introduced the concept:
The original code this was based off of can be found on GitHub: