chrisdenman / test.learnyouahaskell.github.io

Functional Testing learnyouahaskell.github.io
The Unlicense
1 stars 0 forks source link

We don't currently check when users' reference unknown output filename tokens. Add a runtime check for this. #10

Closed chrisdenman closed 1 week ago

chrisdenman commented 2 weeks ago

Is your feature request related to a problem? Please describe. When a user provides configuration for screenshot output filenames which reference invalid tokens, there's no way for them to tell that they will not work until runtime which will lead to frustration.

Describe the solution you'd like Runtime validation using the user supplied screenshot output file template as soon as possible before any test run (probably using dummy screenshot test values) and fail-fast so that time is not wasted and screenshot files have to be manually handled or worse, discarded.