-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fewer functions, more parameterizations 💯
An improved approach to writing API tests, which vastly reduces the amount of handwritten test code. The key change is to write one test function per API endpoint, with both request and response cases parameterized, instead of creating separate test functions for different kinds of responses. Implemented so far for the keyword update and delete endpoints.
- Loading branch information
1 parent
82ec98e
commit 4dc3798
Showing
3 changed files
with
74 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.