From ce71c2432a9736cb1b8f2393faaffcd64e7448db Mon Sep 17 00:00:00 2001 From: matthieu Date: Sat, 9 Jun 2018 17:59:26 +0200 Subject: [PATCH] [master] Add examples and modify readme --- README.md | 1 + examples/php/.testomatic_single.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index dfabbe5..287cb24 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ notification: |---------------|------------------------------------------------------------------------------------------------------------------|------------|----------|---------| | root | The root folder where your tests are. `testomatic` will watch into this folder and every subfolders recursively. | string | yes | *empty* | | regex | Every filename matching this regex will be watched. | string | yes | *empty* | +| ignore | Fields or folder you want to ignore (vendor for example) | array | no | *empty* | | ignore_hidden | Any files or folders beginning by a point `.` won't be watched | boolean | no | `false` | ### command diff --git a/examples/php/.testomatic_single.yml b/examples/php/.testomatic_single.yml index 14a2c20..16edf86 100644 --- a/examples/php/.testomatic_single.yml +++ b/examples/php/.testomatic_single.yml @@ -2,6 +2,9 @@ watch: root: src/Tests/ regex: "Test.php" + ignore: + - src/Tests/_cache + - src/Tests/_fixtures ignore_hidden: true command: bin: bin/phpunit