verekia / js-stack-from-scratch

🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.
MIT License
20.07k stars 1.99k forks source link

e2e tests #125

Open miherlosev opened 7 years ago

miherlosev commented 7 years ago

E2E tests with testcafe

Hi I suggest to add e2e tests to your tutorial. I can do this myself. What do you think about this?

goldylucks commented 7 years ago

I was about to suggest E2E with nightwatch :)
Have any of you tried it @miherlosev @verekia ?

rbrtsmith commented 7 years ago

I'd vote for Nightmare it requires very little setup compared to others.

goldylucks commented 7 years ago

@rbrtsmith u volunteer for a PR? :)

verekia commented 7 years ago

Don't start working on a PR just yet, I'm not sure if E2E should be part of the tutorial yet, which is why this issue is still open for discussion :)

goldylucks commented 7 years ago

@verekia IMO E2E is an integral part in a complete stack. I'm mentoring coders and TBH I send EVERYONE to your tutorial now, it's the best one I've seen in a long time.

I can make a react e2e tutorial on a separate repo, just think it will fit nicely into this one.

we'll see how people react ;)

@rbrtsmith Nightmare looks very interesting, even simpler than nightwatch. I'll give it a try soon.

verekia commented 7 years ago

Okay thanks, you guys convinced me :)

I'll add E2E to the tutorial. I need to do a more thorough hands-on comparison of the different libs first though. Nightmare and Nightwatch seem pretty solid.

rbrtsmith commented 7 years ago

I would only recommend Nightmare because it is easier for beginners to get started with due to very minimal configuration, setup and dependencies.