TBD54566975 / web5-spec

Web5 Spec
https://tbd54566975.github.io/web5-spec/
Apache License 2.0
7 stars 5 forks source link

Update SDK Feature Report Generator to be more flexible in handling test naming #100

Closed frankhinek closed 8 months ago

frankhinek commented 8 months ago

During this workflow run an issue with discovered with how test names with spaces can cause the pattern matching in SDK Feature Report Generator to miss a test vector result.

Instead of:

2024/01/11 12:40:57 INFO regex success for test sdk=web5-js before="Verifiable Credential Tests Web5TestVectorsCredentials verify" after=Tests

It should have been:

2024/01/11 12:40:57 INFO regex success for test sdk=web5-js before="Verifiable Credential Tests Web5TestVectorsCredentials verify" after=verify

Rather than requiring every developer writing tests to have to be aware that they can't use spaces or impose other constraints, the preference is to improve how the report generator matches.

More context in this Discord thread