Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Add golden testing #213

Open
tel opened this issue Feb 25, 2018 · 0 comments
Open

Add golden testing #213

tel opened this issue Feb 25, 2018 · 0 comments

Comments

@tel
Copy link

tel commented Feb 25, 2018

One thing that would make tut more beneficial as a testing method would be to add a concept of "golden testing" where alongside the tut block producing some output, we write the exact anticipated output. If the output matches then nothing happens but if it does not match it triggers a test failure.

```tut:golden
2 + 2
---
4
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant