Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation not clear: "How Cypress handles unit tests vs integration tests." #3737

Closed
basickarl opened this issue Mar 18, 2019 · 1 comment

Comments

@basickarl
Copy link

basickarl commented Mar 18, 2019

Not a massive ticket, but I feel the documentation isn't clear enough about one area for beginners: https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests.html#Folder-Structure

It states:

How Cypress handles unit tests vs integration tests.

There is unfortunately nothing that explains this in the current documentation. At least not clear enough!

(I also find it strange that there is a cypress/integration directory, but no cypress/unit directory. If the case was that the unit tests are to be located elsewhere, then shouldn't the default behaviour be that cypress looks through the application code also? Or perhaps cypress doesn't want to have anything to do with the file structure of unit tests and wants me, the developer to decide? And edit cypress.json after my own needs (which I am currently doing))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants