I’m working on adding functionality to dmvboardgames.com which will allow users to join groups and see information about the groups they are a part of.
I decided to start on the backend by adding tests and skeleton logic. Here are the tests I added. https://github.com/gatherspiel/backend/pull/243/commits/2954bbfac36ea82b5074a2c606e4f71747060ce1
I then ran the tests, and they all unsurprisingly failed. Later, I will work on finishing the backend code to ensure the tests pass, and I’ll likely make some updates to the tests. I’m finding the approach of specifying the test cases first with placeholder logic to be very useful for figuring out how the code should be structured at a high level. The approach has also helped me avoid writing incorrect code because of a test case I wasn’t thinking about.
