Cucumber Forge Desktop allows users to create clean HTML reports without having to build the project or run the tests. Many of the stakeholders involved in the Cucumber documentation process do not need the test pass/fail information for the scenarios. Instead they just want simple reports that are easy to generate, read, and share.
Users of Cucumber Forge Desktop do not need technical knowledge or a development environment. They simply need access to the feature files to include in the report.
Cucumber Forge Desktop supports generating HTML documents from all of the feature files contained in a selected directory (and its sub-directories). The scenarios included in the report can be filtered by tag.
Detailed usage documentation can be found here.
To install and use Cucumber Forge, download the setup executable from the latest release.
This project is built on Travis.
Note that Cucumber Forge Desktop is an Electron-based front-end for the cucumber-forge-report-generator NPM library.
Development Environment:
To install the project from the source code, run npm install
from the project directory.
npm start
can be used to build and launch the app from the local source code.
Linting is available and can be run via npm run lint
.
To execute the automated tests, simply run npm test
from the project directory.
To open the DevTools when the application loads (for debugging purposes) add the following code to the createWindow() function of the main.js file: mainWindow.webContents.openDevTools();
The project extends the eslint-config-airbnb
ESLint configuration. This provides formatting standards for breaks, line length, declarations, etc.
Tests for the project are written with cucumber-js using the Spectron testing framework.
If you have any issues or questions, please log a Github issue for this repository. See our contribution guidelines for tips on how to submit a helpful issue.
See CONTRIBUTING.md
Copyright 2019 Cerner Innovation, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.