Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
radicle-ci-broker ci-broker.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