20240829
Played FC and watched anime until midnight as usual. Started to work around 1, on creating unit tests for database operations. But I don't think I need to set up a database in memory for testing, assuming database will act as expected, thought there are some pretty complex queries, using recursive query and JSON related functions. Instead, I just wrap sql queries and related simle serializing/deserializing operations into functions, then I can mock them while testing. Watched a football game around 4, and went to sleep after that. Didn't skip the breakfast and got up at noon to have lunch. Played piano for a short time then, and worked in the afternoon. Basically completed it, but I found a small problem, so fixed it after dinner, and added a simple unit test. Completed 14 pomodoroes today - one for learning and thirteen for work.
评论
发表评论