docassemble-cucumber

Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.

Usage no npm install needed!

<script type="module">
  import docassembleCucumber from 'https://cdn.skypack.dev/docassemble-cucumber';
</script>

README

ALKiln

Formerly named "docassemble-cucumber"

Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.

Works well with https://github.com/suffolklitlab/docassemble-AssemblyLine but isn't dependent on it.

Documentation

https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/automated_integrated_testing/

Integration tests

To setup for the integration tests, create the project on the server:

npm run setup

Use the syntax below to trigger specific tags:

npm run cucumber -- "--tags" "@tagname"

To run the unit tests in isolation:

npm run unit