Skip to content
Using puppeteer, I do automated integration tests on Citadel Packaging.
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/test
.gitignore
.sample.env
package-lock.json
package.json
readme.md
tsconfig.json

readme.md

Jordan Does Integration Tests On Citadel Packaging

Runs some simple integration tests on Citadel Packaging.

Full guide

Getting Started

Clone the repository and run npm i.

After that, you just need to run npm test.

I also have this set up to be able to handle a discord webhook. This is to support scheduled, automated testing. When a test fails, it'll push a notification to discord. You just need to rename .sample.env to .env and then replace the value with your webhook url.

You can obviously this with any other method (email, slack, etc). It's also set up where if you don't want to use this you don't have to. If it doesn't find a .env file or the correct value within that file, it'll just run without sending the notification.

Prerequisites

Tested on Node v10.15.0 and NPM v6.4.1.

Installing

After installing NodeJS you should be able to just run the following in the terminal.

npm i

Built With

Authors

License

This project is licensed under the ISC License

You can’t perform that action at this time.