joh / when-changed

Execute a command when a file is changed
Other
1.21k stars 107 forks source link

Add tests #80

Open eviweb opened 5 years ago

eviweb commented 5 years ago

Hi, this refers to this message: https://github.com/joh/when-changed/pull/77#discussion_r269892135

As some behaviors may differ from a platform to another, it would be great to add a bunch of tests to guarantee that the when-changed behaviors are the expected ones.

The expected behaviors are the following:

When watching directory:

When watching a file:

eviweb commented 5 years ago

Motivated by PR #77