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

Why not use a separate test folder? #5

Closed
Alxandr opened this issue Feb 13, 2017 · 3 comments
Closed

Why not use a separate test folder? #5

Alxandr opened this issue Feb 13, 2017 · 3 comments
Labels

Comments

@Alxandr
Copy link

Alxandr commented Feb 13, 2017

Is there a good reason for having the tests in the same folder?

@bitjson
Copy link
Owner

bitjson commented Feb 14, 2017

It's basically a preference thing – I personally prefer it because it encourages better testing practices (keeping tests small, atomic, and easy to maintain). Angular 2 mentions their reasoning for recommending this setup in their docs.

@bitjson bitjson changed the title Use separate test folder Why not use a separate test folder? Feb 14, 2017
@bitjson
Copy link
Owner

bitjson commented Feb 14, 2017

(Closing this for now, but please let me know if I should reopen.)

@bitjson bitjson closed this as completed Feb 14, 2017
@Alxandr
Copy link
Author

Alxandr commented Feb 14, 2017

No, I agree. It's a preference thing. I just find it sort of unwieldy. But I'll just change that for myself.

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

No branches or pull requests

2 participants