Article
As a developer, one of the things at the top of your list ought to be shipping bug-free code. Nothing could be worse than finding out on Thursday night that the changes you made on Monday broke the live application. The only way to ensure that your app works according...
Uchechukwu Azubuko
End-to-end test automation is an important part of the development lifecycle of any web based application. Choosing the right tool for you and for your application is arguably even more important. In this guide, we'll take a look at end-to-end testing using Cypress. "End-to-end" testing refers to the...
Aleksandar Bursac
As developers, we're encouraged from the start of the journey to write clean code. Equally as important, but less talked about is writing and using secure code. In Python projects, we typically install modules and third-party packages to avoid developing solutions that already exist. However, this common practice is why...
Sathiya Sarathi Gunasekaran
Testing the system is an important phase in a Software Development Life Cycle (SDLC). Testing promotes code reliability, robustness, and ensures high-quality software delivered to clients if implemented correctly. Testing has been given more importance ever since Test-Driven Development (TDD) has become a prominent process in developing software. Test-driven development...
Rayven Yor Esplanada
Jest is a popular, open-source test framework for JavaScript. We can use Jest to create mocks in our test - objects that replace real objects in our code while it's being tested. In our previous series on unit testing techniques using Sinon.js, we covered how we can use Sinon....
Allan Mogusu
Test "mocks" are objects that replace real objects while simulating their functions. A mock also has expectations about how the functions being tested will be used. In some unit test cases we may want to combine the functionality of spies, to observe a method's behavior under call, and...
In software testing, a "spy" records how a function is used when it is tested. This includes how many times it was called, whether it was called with the correct arguments, and what was returned. While tests are primarily used to validate the output of a function, sometimes...
Testing is a fundamental part of the software development process. When creating web applications, we make calls to third-party APIs, databases, or other services in our environment. Therefore, our tests must validate those request are sent and responses handled correctly. However, we may not always be able to communicate with...
In almost all fields, products are thoroughly tested before being released to the market to ensure its quality and that it works as intended. Medicine, cosmetic products, vehicles, phones, laptops are all tested to ensure that they uphold a certain level of quality that was promised to the consumer. Given...
Robley Gori
© 2013-2024 Stack Abuse. All rights reserved.