Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 33 additions & 17 deletions .github/workflows/wc-document-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,48 @@ jobs:
run: |
set -Eeuo pipefail
sudo apt-get update && sudo apt-get install --no-install-recommends -y plantuml
python -m pip install gherkin-official==35.1.0 sbdl==1.16.4
python -m pip install sbdl==1.16.4
- name: Generate SRS document
run: |
set -Eeuo pipefail
python docs/support/generate-sbdl.py --config requirements --gherkin test/cpp/features/*.feature
sbdl -m template-fill --template docs/templates/software-requirements-specification.md.j2 output.sbdl > software-requirements-specification.md
sbdl -m template-fill \
--template docs/templates/software-requirements-specification.md.j2 \
test/cpp/features/*.feature \
> software-requirements-specification.md
- name: Generate C++ test plan and traceability documents
run: |
set -Eeuo pipefail
python docs/support/generate-sbdl.py --config test-specification \
--gherkin test/cpp/features/*.feature \
--bats test/cpp/integration-tests.bats test/base/integration-tests.bats \
--flavor "C++ (cpp)" \
-o cpp-test-plan.sbdl
sbdl -m template-fill --template docs/templates/software-test-plan.md.j2 cpp-test-plan.sbdl > cpp-software-test-plan.md
sbdl -m template-fill --template docs/templates/requirements-traceability-matrix.md.j2 cpp-test-plan.sbdl > cpp-requirements-traceability-matrix.md
sbdl -m template-fill \
--template docs/templates/software-test-plan.md.j2 \
docs/support/cpp-flavor.sbdl \
test/cpp/features/*.feature \
test/cpp/integration-tests.bats \
test/base/integration-tests.bats \
> cpp-software-test-plan.md
sbdl -m template-fill \
--template docs/templates/requirements-traceability-matrix.md.j2 \
docs/support/cpp-flavor.sbdl \
test/cpp/features/*.feature \
test/cpp/integration-tests.bats \
test/base/integration-tests.bats \
> cpp-requirements-traceability-matrix.md
- name: Generate Rust test plan and traceability documents
run: |
set -Eeuo pipefail
python docs/support/generate-sbdl.py --config test-specification \
--gherkin test/cpp/features/*.feature \
--bats test/rust/integration-tests.bats test/base/integration-tests.bats \
--flavor Rust \
-o rust-test-plan.sbdl
sbdl -m template-fill --template docs/templates/software-test-plan.md.j2 rust-test-plan.sbdl > rust-software-test-plan.md
sbdl -m template-fill --template docs/templates/requirements-traceability-matrix.md.j2 rust-test-plan.sbdl > rust-requirements-traceability-matrix.md
sbdl -m template-fill \
--template docs/templates/software-test-plan.md.j2 \
docs/support/rust-flavor.sbdl \
test/cpp/features/*.feature \
test/rust/integration-tests.bats \
test/base/integration-tests.bats \
> rust-software-test-plan.md
sbdl -m template-fill \
--template docs/templates/requirements-traceability-matrix.md.j2 \
docs/support/rust-flavor.sbdl \
test/cpp/features/*.feature \
test/rust/integration-tests.bats \
test/base/integration-tests.bats \
> rust-requirements-traceability-matrix.md
- uses: docker://pandoc/extra:3.7.0@sha256:a703d335fa237f8fc3303329d87e2555dca5187930da38bfa9010fa4e690933a
with:
args: >-
Expand Down
143 changes: 0 additions & 143 deletions docs/support/bats_sbdl_converter.py

This file was deleted.

2 changes: 2 additions & 0 deletions docs/support/cpp-flavor.sbdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!sbdl
document-flavor is definition { description is "C++ (cpp)" custom:title is "C++ (cpp)" }
159 changes: 0 additions & 159 deletions docs/support/generate-sbdl.py

This file was deleted.

Loading
Loading