WolfBeacon Momentum Integration
Integration with Momentum (Chrome extension)
You need Node.js and NPM (LTS versions).
Clone the repository
From the project root, run
(From the project root)
npm run build-devon separate terminals to open a browser sync server on port 8888 which can be accessed by
npm run testwill run integration and unit tests. First, you must run
npm run start-selenium-serverin separate terminals before this command.
All tests use the following:
- Framework: Mocha
- Assertions: Chai
White-box testing will use Karma while black-box testing will use Webdriver.io to connect to a Selenium server.
masterbranch should point to
NEVER EVER WORK ON
master. Keep the
masterbranch updated with upstream
git pull upstream master. It's only to be used a reference/starting point.
In reference to the above point, create a different branch for the issue you are working on off your master branch like
git checkout -b username-work.
Whenever you begin work, be sure to
git pull --rebase upstream master.
npm run lintwill run the
standardlinter. Use this before issuing any PRs or pushing any changes.
When you have completed,
git push origin username-workand issue a PR to the repository.
In case you have a PR pending on this branch,
checkoutto your local
workbranch and work there. Needless to say,
git pull --rebase upstream masteris always important.