Cypress is a modern testing framework built for automated UI and unit testing. In this Tech in 2, Principal Consultant Josh Schanke shares why utilizing Cypress can mean higher quality code and faster development.
Easy To Learn
Cypress is definitely the easiest testing framework I’ve ever had to learn. And with a lot of other things you’re learning: Protractor, Selenium, Jasmin Mocha, Chai – it’s a lot of stuff at once. With Cypress, you’re learning just Cypress. It’s an all-in-one testing framework. It doesn’t use selenium. If you’ve used those other ones it’s going to be really easy to pick up.
No Wait Testing
There’s no explicit calls out to any kind of waiting function. With all the other ones, you’re trying to specify a five second wait time for something to render. With Cyprus, you’re calling their wait function to handle all that stuff for you.
Cypress has the ability to debug things. Throughout each step in your automated UI testing, your test is taking a snapshot of what’s happening every step of the way, so you can go and see all the things that your test is doing and look at the DOM every step of the way. So you can say “Oh, why didn’t this show up?” or “Oh, this thing happened.”. It’s really easy to figure out what happened in your test.
Cypress Runs In Different Browser Types
One of the big benefits of Cypress is that it runs in the browser. It runs the exact same way your users are viewing. If you use Chrome, you can run chrome for your test. You can have Chrome headless running your CI server. Your tests are looking at your applications the exact same way your users are.
It’s by far my favorite testing framework that I’ve ever had to use. We had an application that we typed over a bunch of tests from protractor and it took us less than a week and our testing velocity increased so much after that. It’s just so much easier to debug, so much easier to write tests in the first place. It’s just been huge for us.
Three First Steps to Cloud Modernization
Modernizing in the Cloud allows you to reduce tech debt and take advantage of the benefits of modern technology. In this Tech in 2, Principal AWS Consultant Jeff Pabian shares the three first steps you should take if you want to modernize in the Cloud.
How Sparq Uses Generative AI
Sparq began using generative AI tools in early 2023, when we started offering it to our customers as an option on their projects. In this Tech in 2, Chief Engineering Officer Janet Pierce shares where we've found the most success with AI, the productivity gains we're seeing and how other organizations can get started with it.
Prototyping and Testing in the Cloud
“Cloud services are like Legos and the magic happens when you learn how to put them together to make something useful.” In this Tech in 2, Principal AWS Consultant Jeff Pabian shares four benefits of Cloud prototyping and testing.
Product-Centered Application Modernization
According to Gartner, 40% of application modernization efforts fail. Many times this happens because only the technical components of an upgrade are being taken into account. In this Tech in 2, Chief Technology Officer Derek Perry explains why product-centered application modernization can help you not only modernize your technology, but allow you to take a renewed voice of the customer at the same time.