[GODRIVER-87] Eliminate spec test generation Created: 19/Sep/17 Updated: 28/Oct/23 Resolved: 08/Dec/17 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Testing |
| Affects Version/s: | None |
| Fix Version/s: | 0.0.1 |
| Type: | Epic | Priority: | Minor - P4 |
| Reporter: | David Golden | Assignee: | David Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Spec tests are generated from .yml files. This allows writing individual test functions for each .yml case so that test output is easy to read. However, with recent versions of Go, the testing library supports subtests, so that we can iterate a spec data file directly and still have test-case specific names. Avoiding generation will make spec test runners easier to develop, debug and modify. |