Understanding software testing and test-driven development

When writing software, it's crucial to be able to test the functionality of the system being written. In software development, there is a popular and effective way of writing code in a more agile fashion, namely test-driven development. This method is driven by tests, and the tests written before the main logic are implemented. In other words, when you are about to write a test case for a system, you will certainly have a couple of requirements already at hand, or an idea about the software. In test-driven development, the tests will reflect the requirements. This is a way of writing the requirements in code that will test the piece of software for a given set of functionality. The tests ...

Get F# for Quantitative Finance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.