Commit c4ec7d5
committed
Add utility function to remove test(s) from a specific suite.
The scenario that showed the need to add this function:
- add some experimental test cases, with inconvenient test keys (e.g. a string or an
uninterned symbol)
- fiveam will add the tests without signaling any errors (this would also need to be
handled in separate commit; i.e., to reject attempts to define tests with bad test key.
- run test suites as usual, and you'll have some problems: tests with string keys will
result in method dispatch errors, and tests with uninterned symbol keys will get stuck in
the tests hash table, without being able to modify or clean them up using REM-TEST.
This added utility function, REM-TESTS, allows cleaning up tests such as these ones.
Check its docstring for more details.1 parent e43d6c8 commit c4ec7d5
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
32 | 57 | | |
33 | 58 | | |
34 | 59 | | |
| |||
0 commit comments