DEV Community

Discussion on: The Best Software Testing Tools

 
pavelloz profile image
Paweł Kowalski

Of course im biased. Like everyone in the world about everything - this is my opinion, just like everything else i say/write.
Take it or leave it, not forcing anyone to trust me.

The question is why are you questioning my opinion.
If you see a trap instead of my arguments then maybe work on your biases ;)
Im not "BigCorp Co.", i dont look for your data to sell it, im trying to help FEDs increase their code/project quality by sharing my experience and hopefully save their time/stress when debugging random fails.

Im not saying "my" (its not mine, i just use it) is the only one that works, im saying TestCafe has the only one that "just works" for me for ~2 years now and ive wasted a lot of time on other solutions that promised, but not delivered that one thing.

Thread Thread
 
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.