Skip to content

mattg9/Docx-Form-Processor

Repository files navigation

Cucumber Test Suite

Introduction

This repository contains a suite of Cucumber tests designed to validate the contents of processed forms given as Word Documents.

Getting Started

To get started with running the tests, follow these steps:

  1. Install Dependencies: npm install

  2. Execute Tests: npm run test-cucumber

Word Document Template

The form to be processed consists of areas text should replaced, optionally inserted or removed, and checkboxes that must be checked.

Repository

  • test/resources/data: Includes sample schema and inputs to expect.
  • features/step_definitions/steps.js: Includes When condition to mock document being processed by external system.
  • test/resources/form: Includes sample template forms for Given condition.
  • test/resources/result: Includes sample output to expect checked by Then conditions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published