Integration tests

Several tests for recursive dirs, hard & soft links.
Tests use the tempfile project.

Personally I find the tests hard to read. Am considering adding a
'--no-color' output option as this will make the tests much more
readable. (Currently we have to call format_string to get the matching
colors and if a test fails the diff is very hard to read).
This commit is contained in:
bootandy
2018-04-06 20:44:02 +01:00
parent 385ddb75e1
commit 1a34bc3198
2 changed files with 119 additions and 5 deletions
+2
View File
@@ -7,3 +7,5 @@ authors = ["bootandy <bootandy@gmail.com>", "nebkor <code@ardent.nebcorp.com>"]
ansi_term = "0.11"
clap = "2.31"
assert_cli = "0.5"
tempfile = "3"