Currently in pre-alpha, everything is subject to change and become (hopefully) better!
GreenHouse is an application for browser-based front-end QA testing. It compiles Gherkin code into Playwright/Jest test files (test.js
), which can be run using Playwright/Jest.
A Docker image is also being developed for running tests locally (in-browser) and in a GitHub action (headless).
Gherkin is a domain-specific language for defining business behavior without detailed implementation. It's used in Behavior-Driven Development (BDD). Learn more
- Clone the repository:
git clone https://github.com/Alex-Hawking/GreenHouse-Testing.git cd GreenHouse-Testing
- Install the packages:
npm install
- Build the project:
sudo npm run build
This should build and add GreenHouse to your PATH (this is basically cheat/janky way to do this while I fix the project).
-
Create a new GreenHouse project:
ghc create /path/
(Note: this will clone the template folder into wherever you pass in)
-
Compile feature files:
ghc compile /path/
See the Wiki for full GreenHouse documentation.