Added some simple tests

This commit is contained in:
Pünkösd Marcell 2021-04-25 04:52:49 +02:00
parent 9dd9c6cd5f
commit 0c43fb85aa
2 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,28 @@
---
version: 1
name: simple_test
created_at: '2021-04-14T20:54:47.557000'
load_plugins: ["sleep", "log"]
program:
- command: log
args:
level: INFO
message: This is a test program. Starting now...
- command: sleep
args:
secs: 1.2
- command: sleep
args:
secs: 20
- command: sleep
args:
secs: 5
- command: log
args:
level: INFO
message: End of test program!

View File

@ -0,0 +1,31 @@
---
version: 1
name: wait_test
created_at: '2021-04-14T20:54:47.557000'
load_plugins: ["sleep", "log", "wait"]
program:
- command: log
args:
level: INFO
message: This is a test program. Starting now...
- command: sleep
args:
secs: 1.2
- command: sleep
args:
secs: 20
- command: wait
args: {}
- command: sleep
args:
secs: 5
- command: log
args:
level: INFO
message: End of test program!