One Tiny Bug Fix etc.
Posted on Wed 16 February 2022 in TDDA • Tagged with tests, cartoon
Posted on Wed 16 February 2022 in TDDA • Tagged with tests, cartoon
Posted on Mon 07 February 2022 in TDDA • Tagged with tests, reference tests, rust
or Why Tests Spontanously Fail
You might think that if you write a program, and don't change anything, then come back a day later (or a decade later) and run it with the same inputs, it would produce the same output. At their core, reference tests exist because this isn't …
Continue readingThis week, a client I'm working for received a large volume of data, and as usual the data was sent as "flat" files—or CSV (comma-separated values1) files, as they are more often called. Everyone hates CSV files, because they are badly specified, contain little metadata and are generally …
Continue readingPosted on Sun 30 August 2020 in TDDA • Tagged with tests, reference tests, data
I've been dabbling in Swift—Apple's new-ish programming language—recently. One of the things I often do when learning a new language is either to take an existing project in a language I know (usually, Python) and translate it to the new one, or (better) to try a new project …
Continue readingPosted on Thu 31 October 2019 in TDDA • Tagged with reference test, exercise, screencast, video, pytest
This exercise (video 2m 58s)
shows a powerful way to run only a single test, or some subset of tests,
by using the @tag decorator available in the TDDA library.
This is useful for speeding up the test cycle and allowing you to focus
on a single test, or a …