Upon returning from the break we quickly began to feel like we were running out of time, upon reassessing our outstanding goals with the project it became quite clear that old mate Patrick had more outstanding tasks than me, going forward I was going to help him on the front-end.
This week was somewhat short in that upon returning I spent some time familiarizing myself with where I was up to previously, I spent some time delving back into unit testing in the front-end to polish off the week. Not too much to mention here as I was pretty stuck! But felt like I was pretty close to working it out as the week ended.
Something I forgot to mention in the previous weeks blogs was that I had also spent some time refactoring the integration test code in the back API solution, in it's initial state each endpoint/projects tests where all reliant on the same test model (fake database for testing). This meant that when a new test required a change to the database the developer would then have to go forth and change all affecting unit tests for several projects. This made the tests hard to maintain which was pretty bad. I came up with a way for each project to have it's own test model but it required a lot of repeat code across the projects. With Chris we tried to find a way to resolve this repeat code issue until we ran into an error, at this point I had to move on with more pressing issues but I intend to come back to this and implement my somewhat hacky solution after the poster evening. Although it is 'hacky' it is still more maintainable than the previous setup.
Tests are far more likely to get written and used if they are easy to maintain.
Since our MVP was complete our next concern moved to filtering, my endpoints where for the most part already ready for this functionality until we had a few suggestions from the team that required me to make some corrections which was no worries.
We plan to have 3 global filters and one filter that only applied to the 'ontimeratio' data, for old mate Patrick to achieve this I needed to communicate with him often regarding how to correctly use the endpoint, it was good to be working next to each other which allowed for effective communication.
There where a couple more design changes implemented by old mate Pat on the front-end, two statistics that were shown as numbers were merged into a single bar chart which greatly improved the readability of the page, nice.
No comments:
Post a Comment