Front-end developers can use this framework to write UI component and integration tests. While a test automation engineer can elaborate on this test set by adding his own integration and end-2-end regression tests.
While focusing on UI testing, Cypress addresses these key pain points developers and test automation engineers face when writing tests:
Cypress takes snapshots as your tests run. You can simply hover over commands in the Command Log to see exactly what happened at each step.
You do not have to add waits or sleeps to your test scripts. Cypress automatically waits for commands and assertions before moving on. How? Behind the scenes of our written test commands, the Cypress engine executes hidden commands to ensure that the state of the application matches what our commands expect about it. Any waiting or retrying that is necessary to ensure a command was successful, must complete before the next command executes. The test will fail when the default timeout of a command is reached.
The Cypress test runner provides readable errors and stack traces. You also have access to all the developer tools.
Cypress gives you direct access to the HTTP requests in your test run. By intercepting these requests, you can easily confirm expected network calls with the server and control, stub and test edge cases without involving your server.
In our upcoming brownbag session we will dive deeper into the Cypress features, look at the differences with Selenium, and learn how to get started with Cypress.
Postman is a collaboration platform for API development and testing. It simplifies the API testing process and contains some useful features that benefit developers as well as testers.
Its API client will help you create a manageable and structured workflow, document and share your work in a dedicated workspace. Besides that, it enables your teammates to collaborate on it. Postman also provides a good overview of the existing projects/products, their APIs, and the tests that help guarantee the APIs quality.
Postman’s paid plan enables unlimited shared requests which is essential for setting up a team workspace. With this plan, a possible setup is to create a shared team workspace for projects or products and add a collection for each API. These collections can contain the requests or even folders with specific test scenarios.
Apart from these benefits, Postman has many features to simplify the API testing process, including:
Postman lets you send REST, SOAP and GraphQL requests.
Quickly add tests by using the provided code snippets.
Run your API tests directly from the command line. Integrate this into your CI/CD pipeline to ensure that any code changes will not break the API in production.
Monitors help you stay up to date on the health and performance of your APIs. You can schedule health checks and will automatically get notified through email when a test fails.
In case you want to know more about Postman and its features, our Brightest Academy has an in-house API testing training where you will learn more about writing tests in Postman.
Written by Thomas Moors, Test Automation Engineer.
The implementation of proper test data management is essential for ERP landscapes. But preparing and managing test data has some challenges. Find our 5 best practices for it here.
Data breaches lead to a lack of trust among customers. Therefore security testing is extra important for the banking industry.
ERP systems are the backbone of many organizations. They are very complex, so in-depth ERP testing is important. Here are 2 tips that can help.
On this international women’s day we would like to focus on women in software testing. And why they are perfect for the job!
Like many others, you are now either adopting an entirely new Enterprise Resource Planning system or you are lifting your current on-premise ERP to the Cloud. Did you know that around 60% of ERP projects fail with inadequate (ERP) testing listed as one of the top 3 reasons for project failure? Discover here 3 reasons why investing in ERP-testing pays off!
The recent cyberattacks in the cities of Antwerp and Diest have once again emphasized the importance of IT security. The attackers used phishing to get inside the system and to steal personal data. But what is phishing and how can we help you preventing it?
At Brightest we like sharing and caring. So, in that spirit, let me share with you some inspiration for your Xmas wish list or NY resolutions.
Wat startte als een zot idee, eindigde in een prachtige dag voor de ganse #Brighcrew. Het was geweldig om te zien dat echt het hele team genoot van deze dag, waarbij oude banden opnieuw werden versterkt en veel nieuwe connecties werden gelegd.