semgrep / testo

Test framework for OCaml
ISC License
16 stars 1 forks source link

Link test IDs to test name and category #59

Closed mjambon closed 6 months ago

mjambon commented 6 months ago

Right now, it's hard to figure out which snapshot or status folder belongs to which test because we know the tests by name rather than by ID (e.g 9827922548ee).

This is a problem when doing some cleanup due to tests being renamed or removed but this can be addressed by a clean subcommand (#58).

There are other situations where it's nice to navigate test snapshots by name by directly inspecting the file system.

I still think unique test IDs are useful because they're compact and easy to copy-paste. They don't require escaping special characters to accommodate the file system.

Ideas: