Open Jbays opened 6 years ago
I needed a five-way join to translate my workout history from various ids into plain language.
Now I've got the results bundled in json.
Time to write tests! Finally.
I've written about 63 tests for my first 5 workouts.
The tests helped me discover the first step for mastery_id = 3 was INCORRECT.
Right now, I'm going to write a little more code -- so that all workout history is queried from my database THEN written to a file. It's this file that I'll run workout history tests against.
To ensure that my workout history is correctly translated, I need to write a bunch of tests.
These will ensure that on X date, I had Y workout!
Otherwise, checking all these workouts by hand is silly. And error-prone.