Testing "shape" of data and nested data structures
When testing code that integrates with DBs and JSON APIs I often don’t really care about attributes like id, created_at but still have to assert on them, or filter them out. See a different way: http://wojtekmach.pl/blog/2015/07/17/testing-shape-of-data/
Post a comment