blog.ploeh.dk · 25d · discuss
A continued programming exercise using TDD with PBT. This article is one of a series on finding properties for a budgeting kata. I expect you to have read the previous articles in the series. The first property specified that a bill doesn't exceed the total budget, and that's all there is to say about the total budget. All the complication lies in how category budgets are handled. In this article, we get started on that work, which will continue for another seven properties. The code is available on GitHub, in the commit aefa192. Per-category bounds # My plan for this...