No description
  • Rust 22.8%
  • TypeScript 18.7%
  • JavaScript 15.7%
  • C# 14.7%
  • Java 14.3%
  • Other 13.8%
Find a file
2025-11-15 11:26:25 +01:00
cs cs: bump to .Net 9.0 2025-11-15 11:26:25 +01:00
java java: add maven wrapper 2025-11-04 18:32:16 +01:00
js js: rewrite 2025-11-15 11:11:46 +01:00
python ditto python 2024-11-27 13:36:07 +01:00
rust Initial commit 2023-03-26 15:05:30 +02:00
ts ts: format, swith to vitest 2025-11-15 11:03:04 +01:00
README.md Update README.md 2024-11-27 10:26:08 +01:00

Builder pattern in tests

Instructions

There's a bug in the production code but all tests pass!

Your first task is to find the bug and fix it, and understand why it was not caught by the tests.

Your second task is to look up the Builder design pattern and see if it can help.

Refactoring Guru is a good source for a detailed explanation of the pattern.

You may start by implementing the design pattern naively in the tests and use this as a starting point ... or maybe find an other solution ?