mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
37 lines
732 B
YAML
37 lines
732 B
YAML
- given: "a Radicle node, with CI configured with {config} and adapter {adapter}"
|
|
types:
|
|
config: file
|
|
adapter: file
|
|
impl:
|
|
rust:
|
|
function: setup_node
|
|
|
|
- given: "a Git repository {name} in the Radicle node"
|
|
types:
|
|
name: word
|
|
impl:
|
|
rust:
|
|
function: create_repo
|
|
|
|
- given: "the Radicle node emits a refsUpdated event for {repodir}"
|
|
types:
|
|
repodir: path
|
|
impl:
|
|
rust:
|
|
function: add_event_file
|
|
|
|
- then: "stdout has one line"
|
|
impl:
|
|
rust:
|
|
function: stdout_has_one_line
|
|
|
|
- then: "stdout has {n:uint} lines containing \"{text:text}\""
|
|
impl:
|
|
rust:
|
|
function: stdout_has_n_lines_containing
|
|
|
|
- then: "stdout is empty"
|
|
impl:
|
|
rust:
|
|
function: stdout_is_empty
|