Test-driven development is a software development practice based on a simple workflow that puts automated testing center stage. The basic idea is that the requirements are turned into very specific, well-defined, and targeted test cases. Each test should address only one piece of functionality. Once the test is ready, we run the whole test suite. Obviously, as we first write the test, it will initially fail. Next, we add the minimal implementation to make the test pass. That's it—all we need to do is repeat the same process until all the requirements are implemented. This approach ensures that our code base is thoroughly tested and that we focus on delivering just the requirements, avoiding feature ...
Beginning with test-driven Julia development
Get Julia Programming Projects 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.