Reader small image

You're reading from  Full Stack Quarkus and React

Product typeBook
Published inNov 2022
Reading LevelBeginner
PublisherPackt
ISBN-139781800562738
Edition1st Edition
Languages
Right arrow
Author (1)
Marc Nuri San Felix
Marc Nuri San Felix
author image
Marc Nuri San Felix

Marc started his career as a freelance web application developer, creating and maintaining software for the transportation/courier industry. A few years ago Marc started working as an employee for different companies where he has helped build scalable web applications for different industries (retail, procurement software, e-commerce, etc.). He is now a professional Open Source developer focused on the creation and maintenance of developer tools for Java developers and Kubernetes.
Read more about Marc Nuri San Felix

Right arrow

Testing the application’s features

When implementing an application, especially if you’re following a test-driven development (TDD) approach, it might be more interesting to write tests that verify the behavior of an actual application feature from the user’s perspective rather than specific units of code from a component’s technical perspective. The resulting tests will provide value from a business point of view and ensure, in an automated and sustainable way, that the application as a whole behaves according to what was requested in its specification. For this purpose, we’ll create the following files:

  • src/auth/auth.test.js
  • src/projects/projects.test.js
  • src/tasks/tasks.test.js
  • src/users/users.test.js

Each of these files will contain tests that verify the application’s features related to its containing module work as expected. For example, the users.test.js file contains tests that verify the task manager’...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Full Stack Quarkus and React
Published in: Nov 2022Publisher: PacktISBN-13: 9781800562738

Author (1)

author image
Marc Nuri San Felix

Marc started his career as a freelance web application developer, creating and maintaining software for the transportation/courier industry. A few years ago Marc started working as an employee for different companies where he has helped build scalable web applications for different industries (retail, procurement software, e-commerce, etc.). He is now a professional Open Source developer focused on the creation and maintenance of developer tools for Java developers and Kubernetes.
Read more about Marc Nuri San Felix