diff options
Diffstat (limited to 'subplot/server.yaml')
-rw-r--r-- | subplot/server.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/subplot/server.yaml b/subplot/server.yaml index 5b8a242..fad749a 100644 --- a/subplot/server.yaml +++ b/subplot/server.yaml @@ -2,6 +2,10 @@ function: start_chunk_server cleanup: stop_chunk_server +- given: "a running chunk server with environment {env:text}" + function: start_chunk_server + cleanup: stop_chunk_server + - when: "the chunk server is stopped" function: stop_chunk_server @@ -46,3 +50,9 @@ - then: "server has {n:int} chunks" function: server_has_n_chunks + +- then: chunk server's stderr contains "{wanted:text}" + function: server_stderr_contains + +- then: chunk server's stderr doesn't contain "{wanted:text}" + function: server_stderr_doesnt_contain |