I love tests

Today I finished the rest of the code for the group project and wrote tests and stuff yaaaay. I did not watch the lecture recording booooo. To write the tests I had to add support for stdin and stdout to the test system. It's all really clunky and bad and I would definitely rewrite it now that I know how it's structured, but for now it does the job and I'm happy with that. It's so nice being able to press one button and it goes off and compiles the code and runs through all your beautiful test cases in a fraction of a second and highlights the ones that don't work for you to examine and fix. It's a huge weight off my mind to know that everything still works, that I haven't accidentally broken it, without having to manually go through and type things in and see if it does what it's supposed to do. I need to add more tests to all my other projects. I bet there's some way of doing automated testing for web pages too, and since most of my work is on web pages, this would be very good to have. I bet it would save me a lot of time.

— Cadence

← Previous: Bibliogram themes IINext: Exhausted →