DEV Community

Discussion on: The Best Software Testing Tools

 
leob profile image
leob

So you imply that TestCafe is (a lot) speedier than Cypress? That's interesting, I always understood they're on par, or that Cypress is even a bit faster ...

Thread Thread
 
pavelloz profile image
Paweł Kowalski • Edited

Maybe thats just my feeling - its always better to test individually before making any decisions.

Ouh, i also take into account how fast it is installing, initializing as a general "speed".

Cypress is doing very weird things with 200mb+ downloads, which i didnt observe while using TC docker container (which btw. imo is superior way of running tests anyways, especially when using CI, like i do).

Thread Thread
 
leob profile image
leob • Edited

Right ...

I've used TestCafe and it is a hundred times better than the Selenium tools I've used before, but I understood that Cypress is in the same league as TestCafe ... both are progressive and innovative test tools that do away with the old Selenium baggage.

Much much easier to use, faster and no more "waiting" (Selenium's ability to configure "timeouts" is not a real solution in my book, that's still flaky).

I haven't used Cypress yet, a 200MB download seems a bit too much but OTOH you do that (the installation) only once don't you? What matters is how fast your tests run.

I don't know if Cypress can use Docker, I read that it's completely browser based. Eager to try it out and compare to TC.

Thread Thread
 
pavelloz profile image
Paweł Kowalski

Well, if your CI is installing npm packages on every build, because you want to make sure your environment is clear between builds, then install time matters. And cypress is a snail in that regard.

It is mitigated both by docker image (docker images are cached layer above on CI's usually). Probably its possible to cache npm packages as well, but we have had instances with critical production bugs because we had cached version of npm package, that was updated in npm registry, so we decided to never cache npm packages anymore.