diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-03-24 05:20:09 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-03-24 05:20:09 +0000 |
commit | 69393b7a4a2eb46593095c2d5c554751dc998d40 (patch) | |
tree | b5cb2a0b9318ed55ba4f94740d9ac850243a0383 | |
parent | bcc64e41ca47b1578b3d697d02cdff0ca1e0daa3 (diff) | |
parent | 390164b6179f64bd2fc5a1eeb30cd5b90600d065 (diff) | |
download | subplot-69393b7a4a2eb46593095c2d5c554751dc998d40.tar.gz |
Merge branch 'smoke-test' into 'main'
Make it clearer that 'smoke test' and 'test data shared between scenarios' are closely related
See merge request subplot/subplot!260
-rw-r--r-- | subplot.md | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -994,10 +994,11 @@ Add the acceptance criteria test scenarios for Subplot here. ## Test data shared between scenarios -The scenarios below test Subplot by running it against specific input -files. This section specifies the bindings and functions files. +The 'smoke-test' scenarios below test Subplot by running it against specific input +files. This section specifies the bindings and functions files, which +are generated and cleaned up on the fly. They're separate from the scenarios so that the scenarios are shorter -and clearer, but also so that the input files do no need to be +and clearer, but also so that the input files do not need to be duplicated for each scenario. ~~~~{#simple.md .file .markdown .numberLines} @@ -1075,9 +1076,10 @@ def foobar_was_done(ctx): ~~~ -## Smoke test +### Smoke test -This tests that Subplot can build a PDF and an HTML document, and +The scenario below uses the input files defined above to run some tests +to verify that Subplot can build a PDF and an HTML document, and execute a simple scenario successfully. The test is based on generating the test program from an input file, running the test program, and examining the output. |