mirror of
https://github.com/kovetskiy/mark.git
synced 2025-06-02 03:32:42 +08:00
rocket science tests
This commit is contained in:
parent
6399aac4d5
commit
a7167e9fa3
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/mark
|
||||
.last-testcase
|
||||
.cover
|
||||
/vendor
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user