Closed bdauer closed 7 years ago
Ongoing. Added a bunch of tests for the Task model this morning. Found and fixed a bug that caused monthly recurring tasks to occur a week off some of the time (it was related to the structure of calendar.Calendar.monthdatescalendar
).
Wrote a ton of tests to cover the Task methods. I could still use some test coverage elsewhere (e.g. signals, Celery, js) but this was the milestone I wanted to reach for this task. Any new test issues can go into a new issue.
On the plus side, this helped me to realize how important it is to test early. I could have caught some bugs earlier. As I'm fixing another bug I can I also see how having the tests in place is going to make maintenance a lot easier.
Write tests for a lot of what has been done and refactor. Maybe pick a day to focus primarily on that.