Index of /

[ICO]NameLast modifiedSizeDescription

[   ]website.pdf2021-11-29 08:31 246K 
[TXT]website.html2021-11-29 08:31 9.9K 
[   ]subplotlib.pdf2021-11-29 08:31 176K 
[TXT]subplotlib.html2021-11-29 08:31 6.4K 
[   ]subplot.pdf2021-11-29 08:30 539K 
[TXT]subplot.html2021-11-29 08:30 273K 
[   ]runcmd.pdf2021-11-29 08:31 260K 
[TXT]runcmd.html2021-11-29 08:31 16K 
[   ]reference.pdf2021-11-29 08:31 226K 
[TXT]reference.html2021-11-29 08:31 9.6K 
[   ]muck.pdf2021-11-29 08:31 283K 
[TXT]muck.html2021-11-29 08:31 34K 
[   ]files.pdf2021-11-29 08:31 232K 
[TXT]files.html2021-11-29 08:31 9.2K 
[   ]echo.pdf2021-11-29 08:31 175K 
[TXT]echo.html2021-11-29 08:31 6.1K 
[   ]daemon.pdf2021-11-29 08:31 287K 
[TXT]daemon.html2021-11-29 08:31 18K 
[   ]RELEASE.pdf2021-10-23 08:14 146K 
[TXT]RELEASE.html2021-10-23 08:14 6.9K 
[   ]README.pdf2021-10-23 08:14 237K 
[TXT]README.html2021-10-23 08:14 7.9K 
[   ]NEWS.pdf2021-10-23 08:14 190K 
[TXT]NEWS.html2021-10-23 08:14 14K 
[   ]CONTRIBUTING.pdf2021-10-23 08:14 222K 
[TXT]CONTRIBUTING.html2021-10-23 08:14 9.5K 

Subplot README

Subplot README

2021-10-23 08:05

Capture and communicate acceptance criteria for software and systems, and how they are verified, in a way that’s understood by all project stakeholders.

Acceptance criteria are expressed as scenarios in the Cucumber given/when/then style:

given a web site subplot.liw.fi
when I retrieve the site front page
then it contains “Subplot”
and it contains “acceptance criteria”

0.1 When all stakeholders really need to understand acceptance criteria

Subplot is a set of tools for specifying, documenting, and implementing automated acceptance tests for systems and software. Subplot tools aim to produce a human-readable document of acceptance criteria and a program that automatically tests a system against those criteria. The goal is for every stakeholder in a project to understand the project’s acceptance criteria and how they’re verified.

See https://subplot.liw.fi/ for the home page.

0.2 Hacking Subplot

Subplot is written using the Rust programming language, so the usual workflow for Rust applies. To build run cargo build, to run tests in Rust run cargo test. You probably need to install Rust using rustup: the version packaged in a Linux distribution is likely too old.

To run the whole test suite, including testing all examples and Subplot self tests, run ./check at the root of the source tree.

You’ll need to install build dependencies installed. On a system running Debian or a derivative of it:

$ sudo apt-get install build-essential git debhelper dh-cargo python3 \
  pandoc texlive-latex-base texlive-latex-recommended \
  texlive-fonts-recommended librsvg2-bin graphviz pandoc-citeproc \
  plantuml daemonize lmodern procps

Additionally, any packages reported by running the following command:

$ dpkg-checkbuilddeps

To build the Debian package:

$ git archive HEAD | gzip > "../subplot_$(dpkg-parsechangelog -SVersion | sed 's/-.*$//').orig.tar.gz"
$ dpkg-buildpackage -us -uc

1 Legalese

Copyright 2019-2021 Lars Wirzenius, Daniel Silverstone

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.