Reusing JavaScript Tests

added by JavaScript Kicks
11/28/2019 7:41:00 AM

441 Views

Writing tests is hard. 😤Why do we need them in the first place? 🤔 Code defines a set of instructions to perform a specific operation. Consider this function as performing the well-defined mathematical operation y = a + b.Assuming the developer understands the underlying principles, he can write this correct implementation in machine code: However, noise from human error, system constraints, or other bugs may damage the code: This is where tests come in.


0 comments