Test-Driven Development (TDD) is a software development practice that focuses on writing automated tests before writing production code.

The TDD development cycle follows three steps: writing a test, making it fail, and then writing the minimum code necessary for the test to pass.
Below are the benefits and best practices associated with TDD:
In this example, three tests are defined for the suma()
function. Each test verifies a different scenario of the sum function. By running this script, the tests will automatically execute and provide feedback on whether the sum function passes the tests or not.
TDD encourages a disciplined development methodology leading to more robust, modular, and easily maintainable code.
It is a valuable practice to improve software quality and reduce the number of errors in the development cycle.
