brandonchinn178 / aeson-schemas

Easily consume JSON data on-demand with type-safety
http://hackage.haskell.org/package/aeson-schemas
BSD 3-Clause "New" or "Revised" License
52 stars 1 forks source link

Refactor testing #37

Closed brandon-leapyear closed 4 years ago

brandon-leapyear commented 4 years ago

:sparkles: This is an old work account. Please reference @brandonchinn178 for all future communication :sparkles:


Break out tests into separate files and avoid using shared data that all tests use. As much as possible, each test should set up its own data according to what it needs to test. Relatedly, I removed goldens testing, because these tests are easier to read via other frameworks.