Jesse Duffield
7b302d8c29
Write unit tests with the help of afero
...
Afero is a package that lets you mock out a filesystem with an in-memory filesystem.
It allows us to easily create the files required for a given test without worrying about
a cleanup step or different tests tripping on eachother when run in parallel.
Later on I'll standardise on using afero over the vanilla os package
2023-07-30 18:35:36 +10:00
..
2023-07-30 18:35:24 +10:00
2023-07-30 18:35:22 +10:00
2023-07-30 18:35:23 +10:00
2023-05-23 19:49:19 +10:00
2023-06-01 19:21:24 +10:00
2022-11-14 18:11:45 +11:00
2023-05-23 19:49:19 +10:00
2023-07-29 12:36:17 +10:00
2023-07-30 18:35:24 +10:00
2023-07-22 14:36:35 +10:00
2023-07-23 13:55:48 +02:00
2023-07-30 18:35:36 +10:00
2023-07-02 02:07:32 -03:00
2023-05-23 19:49:19 +10:00
2023-07-30 18:35:36 +10:00
2023-05-23 19:49:19 +10:00
2023-07-30 18:35:36 +10:00
2023-07-30 18:35:36 +10:00
2023-05-23 19:49:19 +10:00
2023-07-30 18:35:23 +10:00
2023-05-23 19:49:19 +10:00
2023-05-23 19:49:19 +10:00
2023-07-30 18:35:23 +10:00
2023-07-30 18:35:23 +10:00
2023-07-30 18:35:24 +10:00
2023-07-30 18:35:36 +10:00
2023-07-30 18:35:36 +10:00
2023-07-29 12:36:17 +10:00
2023-07-30 18:35:24 +10:00
2023-05-23 19:49:19 +10:00
2023-07-29 10:04:11 +10:00
2023-07-29 10:04:11 +10:00
2023-07-10 17:12:21 +10:00
2023-05-23 19:49:19 +10:00
2023-05-23 19:49:19 +10:00
2023-07-10 15:09:17 +02:00
2023-07-10 15:09:17 +02:00
2023-07-30 18:35:24 +10:00
2023-07-30 18:35:24 +10:00
2023-07-10 17:12:21 +10:00
2023-07-30 18:35:23 +10:00
2023-05-23 19:49:19 +10:00
2023-05-23 19:49:19 +10:00
2023-07-10 17:12:21 +10:00
2022-12-30 20:01:14 +09:00
2023-07-30 18:35:23 +10:00
2023-05-23 19:49:19 +10:00
2023-05-23 20:23:08 +10:00
2023-07-30 18:35:36 +10:00
2023-07-30 18:35:36 +10:00
2023-07-30 18:35:24 +10:00