mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-02 05:12:35 +00:00
rocket science tests
This commit is contained in:
@@ -7,6 +7,8 @@ source ../vendor/github.com/reconquest/import.bash/import.bash
|
||||
|
||||
import:use "github.com/reconquest/test-runner.bash"
|
||||
import:use "github.com/reconquest/go-test.bash"
|
||||
import:use "github.com/reconquest/blank.bash"
|
||||
import:use "github.com/reconquest/coproc.bash"
|
||||
|
||||
:cleanup() {
|
||||
:
|
||||
|
||||
12
tests/testcases/create-page-and-send-markdown.test.sh
Normal file
12
tests/testcases/create-page-and-send-markdown.test.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
tests:ensure :run --version
|
||||
|
||||
blank:server:new wiki
|
||||
|
||||
tests:ensure $wiki::start
|
||||
|
||||
tests:eval $wiki::get-listen
|
||||
listen=$(tests:get-stdout)
|
||||
|
||||
tests:debug "listening on ${listen}"
|
||||
|
||||
$wiki::stop
|
||||
Reference in New Issue
Block a user