Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

add assertions to examples #509

Closed
harrysolovay opened this issue Jan 23, 2023 · 3 comments · Fixed by #826
Closed

add assertions to examples #509

harrysolovay opened this issue Jan 23, 2023 · 3 comments · Fixed by #826
Assignees

Comments

@harrysolovay
Copy link
Contributor

Will make our example-based testing approach more robust.

@harrysolovay
Copy link
Contributor Author

TODO: assign nythrox upon his being added to the paritytech org

@harrysolovay
Copy link
Contributor Author

Given that our examples can also serve as tests, it might be a good idea to add assertions to the examples. Granted, this could also bloat otherwise-clean examples... it's a delicate tradeoff. Is this worth pursuing?

@tjjfvi
Copy link
Contributor

tjjfvi commented Feb 21, 2023

I think it's worthwhile as long as the assertions also make the expected behavior of the examples clearer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants