snivilised / traverse

🌀 concurrent directory walker
MIT License
0 stars 0 forks source link

add client example test #162

Closed plastikfan closed 1 week ago

plastikfan commented 1 week ago

A lot of the unit tests appear to be quite complicated due to them being implemented as table data driven cases. This isn't helpful to anyone else looking at the test cases to see how to use the package.

So, create new units tests that are specific to a single scenario, thus removing the complexity. The purpose of these tests are not to assert functionality, rather they serve as clear examples of how to use the package in specific scenarios. All tests of this nature should be laelled as 'example'.