Log inBook a Demo
Training
Intermediate

Front-End Engineer (React): improve testing coverage

Time available:45 minutes
|
Available in
+8
ByAnthropos
This simulation was archived and cannot be started
1
The challenge

Navigator's Booking Module has low test coverage and recurring bugs impacting user experience.

2
The issue

With only 65% test coverage, over 30 bugs have been reported in six months, many related to date selection.

★
Your goal

Your goal is to increase test coverage to 85% and reduce reported bugs by 50%.

Your Role
Front End Consultant@ Navigator

You are a Front End Developer Consultant at Navigator, a leading online travel booking platform.

Other participants
Tom DixonTest Lead
Karin DatchProject Manager
Context

Navigator is one of the leading online booking companies, founded in 2008. Thanks to an aggressive marketing strategy and strategic partnerships with airlines and hotel chains, Navigator has gained a prominent position in the travel booking sector. The platform allows users to book flights, hotels, and other travel activities, offering advanced features such as price search, user reviews, and last-minute deals. Navigator has achieved significant milestones, including expansion into over 50 countries and managing over 10 million bookings each year. It uses ReactJS for the front end and Node.js for the back end, relying on testing frameworks like Jest and Enzyme to maintain the application's reliability and stability.

The main challenge of the simulation is to improve the test coverage of the "Booking Module" of Navigator's React application. Currently, the unit test coverage is 65%, and over 30 bugs have been reported in the last six months, many of which concern date selection. The goal is to increase unit test coverage from 65% to 85% and reduce the number of reported bugs by 50%. The player will need to collaborate with Tom Dixon, the Test Lead, to identify gaps in existing tests and propose new tests that cover unconsidered scenarios.

In the role of Front End Developer Consultant, you will be tasked with reviewing and improving the unit tests of the "Booking Module" component of Navigator's application. You will primarily interact with Tom Dixon, the Test Lead, who will provide real-time feedback and suggestions. You will need to examine the existing unit test code, identify gaps or uncovered cases, and propose specific improvements. Your decisions will have a direct impact on the stability and reliability of the key component of Navigator's booking application.

  • Examine the existing unit test code.
  • Identify gaps or uncovered cases.
  • Propose specific changes or additions to the test code.
  • Collaborate with Tom Dixon to receive feedback and refine the tests.
  • Improve unit test coverage from 65% to 85%.
  • Reduce the number of reported bugs by 50%.
Evaluated Skills
ReactUnit testingCollaboration & Teamwork
Helpful for
Front End Developer ConsultantJunior DeveloperSoftware Tester