Automated Testing — Web development division

Flow Labs
2 min readOct 7, 2021

Have you ever had to perform any maintenance fix to an app, and forgot about the thousand different flows behind your application logic?

Discussing with my colleagues, I realized that it is a pretty common problem in software development.
Many times I had to fix features, small or big, and sometimes after I fixed them I realised the fix affected another part of the app. This resulted in my overworking, since after the fix was validated and released, I had to fix these errors that appeared out of nowhere.

This not only resulted in extra work but also, for obvious reasons, it generated inconveniences and insecurities for the client at the moment of every release.

The solution is to test thoroughly: test every flow, every requirement, every border condition, test it again and again to verify its correct operation.
This may not seem so bad, and in a small project it is not, but if we have a bigger, more sophisticated project, there can be a lot of work flows that can be messed up by simply changing a line in the code.

At that point we all show our religious side and pray no to introduce new bugs.

Thanks to our faith our prayers were answered and my team discovered an amazing tool to facilitate and automate all those tedious tests, as well as lowering the testing time from hours to minutes to verify all the possible flows.

I am talking about automated testing. These tools help us cover all the cases we want, bringing peace yo the client as well as ourselves.

We use Cypress, a modern and easy to use Automated Testing Framework, which allows the execution of any types of tests in web apps.

It consists in writing what we want to be tested in the project, what flow to test. It’s so advanced that you can even choose where to click, what url to go to, check a database, or even see the HTTP requests sent.

Moreover, Cypress has a really good console which shows every test fail, nicely explained and with advice on how to solve them.

I think it’s a one way trip, and I invite everyone to travel with me to discover more amazing uses and benefits that this Framework offers.

Next I will be digging deeper into how to use it and I will show you some examples.

Are you interested? Join us in our journey to learn more about Cypress!

See you soon!

Ignacio Cogliatti — Web development division

--

--

Flow Labs

We’re FlowLabs, a Software Company specialized in AI, APP and WEB solutions. Join us on our journey through some interesting solutions to our daily challenges!