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

Unit and e2e test for template #118

Closed
sonicoder86 opened this issue Mar 1, 2020 · 5 comments
Closed

Unit and e2e test for template #118

sonicoder86 opened this issue Mar 1, 2020 · 5 comments

Comments

@sonicoder86
Copy link

What do you think about the test configuration in the template?
For example jest and cypress.
Using a template, I would not want to have a cognitive load when installing plugins for tests

@pngwn
Copy link
Member

pngwn commented Mar 1, 2020

This template is intended to be the bare minimum needed to get started with svelte, it is not a production-ready template. We want to leave the finer details, such as testing, down to the user. With this in mind, we don't want to endorse any particular testing library, especially when the experience with those libraries isn't as good as it could be.

There is an initiative to create a CLI that could cover this use case.

@pngwn pngwn closed this as completed Mar 1, 2020
@sonicoder86
Copy link
Author

I can't find a production-ready template for Svelte, where else should it be if not in the template the official cli generates?

Jest is a popular and usable solution, what's the problem with "all" of them?

I'm a bit disappointed that this issue is closed without discussion.

@pngwn
Copy link
Member

pngwn commented Mar 1, 2020

There have been a number of issues and PRs on this topic in the past, we need to close issues that won’t be actioned in order to keep the issue list as clean as possible. This is something we want to address in the future but simply adding jest or cypress isn’t something we are willing to do right now.

@frederikhors
Copy link
Contributor

I can't find a production-ready template for Svelte, where else should it be if not in the template the official cli generates?

Jest is a popular and usable solution, what's the problem with "all" of them?

I'm a bit disappointed that this issue is closed without discussion.

You can't discuss what is already discussed (and a lot) here. Simply search in issues.

This is a starter template.

Can you fork and create one like https://github.com/blacksonic/svelte-template?

@sonicoder86
Copy link
Author

Ok...is there a place for discussion on this?

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

3 participants