Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

Testing #1

Closed
Rich-Harris opened this issue Dec 17, 2017 · 1 comment
Closed

Testing #1

Rich-Harris opened this issue Dec 17, 2017 · 1 comment

Comments

@Rich-Harris
Copy link
Member

Have wrestled a bit with the question of how to adequately test something like Sapper. I think the easiest thing to do is test a sample application instead, and this one is an obvious candidate.

At the same time, the apps themselves need to have a good, obvious way to test them.

Makes sense therefore to do the initial work here, then add tests in the Sapper repo that basically just run the tests for this app.

Gleb Bahmutov was kind enough to write up his experience of using Cypress to test a Svelte app, and I think Cypress is probably the right go-to choice for testing Sapper apps.

@Rich-Harris
Copy link
Member Author

Meant to add a link to Gleb's post: https://glebbahmutov.com/blog/testing-svelte-store/

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