Damn, guess that we can call it the tunnel effect ? I’ve spend most of my free time (which means, barely an hour per day, unfortunately) working on unit tests for my class implementing the Windows API.
Even if I only do this for myself, I would like to have a lot of unit, integration, and/or end-to-end tests. I’ll have no QA department, no beta tester no nothing. The only way to make sure that my simulation isn’t buggy and will not break the immersion once in VR, is to make sure that everything is tested. Of course, a lot of person will tell “you can’t test everything !”, well, we have the powers of computer science, of course we can. If you think not, please try to change my mind, but I bet that I’ll always find a way to test an API.
Problem is that the Windows Event api is quite mysterious for me at the moment. I have a test which doesn’t pass, because the window instantiated doesn’t receive the keyboard event even if I programmatically sent it. I’ve spend almost two weeks trying to debug this behavior with no success at all. So today, I had a revelation : even if I thought that my test are important, they’re not important enough to justify spending 2 weeks on a single test to debug. The most valuable resource I have on this project is time, and clearly I’ve spent to much on this.
I decided to add a skip mechanism on my custom testing framework (control freak hits again), and add a task on my backlog to fix it later. Well now on 4 tests I have 3 pass and 1 skip, but at least I have test. Time to move on to something else now : Vulkan integration.
On the personal side : still too much work on my job, given the fact that I got a colleague sick and a new surprise deadline… Also I have some difficulties on my relation with my 5yo son which is on a phase of limit-testing and defiance. I have to work a lot on my behavior to avoid anger and instead spend quality time with him, because I’m pretty sure that it’s just a little boy call for attention from his daddy. And clearly, this project is fun and important for me.
But never as important as my children are.