yaml / yaml-test-suite

Comprehensive, language independent Test Suite for YAML
MIT License
172 stars 58 forks source link

is there some logic to the naming of tests? #119

Open VladimirAlexiev opened 1 year ago

VladimirAlexiev commented 1 year ago

Is there some system to the test names/URLs?

Eg https://github.com/yaml/yaml-test-suite/blob/main/src/7A4E.yaml is "Example 7.6" from the spec. But I cannot easily find "Example 7.6" in this repo, because github doesn't seem to have phrase search:

(Ok, I know, I should checkout and search with grep. But the original question stays)

VladimirAlexiev commented 1 year ago

I see a sort of two "inverse indexes":

perlpunk commented 1 year ago

You should also be able to find all tests with titles here:

All tests taken from the spec examples are named as such.

The test ids are randomly generated with https://github.com/yaml/yaml-test-suite/blob/main/bin/new-test-id