https://github.com/phartenfeller/codeceptjs-multimocha-docker
https://github.com/phartenfeller/codeceptjs-multimocha-docker
codeceptjs docker mocha multi-mocha testing
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/phartenfeller/codeceptjs-multimocha-docker
- Owner: phartenfeller
- License: mit
- Archived: true
- Created: 2020-10-05T07:36:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-28T18:10:49.000Z (over 4 years ago)
- Last Synced: 2025-05-02T15:13:53.133Z (29 days ago)
- Topics: codeceptjs, docker, mocha, multi-mocha, testing
- Language: Dockerfile
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# codeceptjs-multimocha-docker
Most part of the Dockerfile is stolen from the official [CodeceptJS Docker Image](https://hub.docker.com/r/codeception/codeceptjs). I added a custom package.json and install codecept over NPM with `mocha-multi`, `mocha-junit-reporter` and `puppeteer`. So you can't mount in an own package.json into the volume. Generally you only need to mount in the codecept config and the tests.
Build
```sh
docker build . -t codecept-mocha-multi
```Run codecept tests
```sh
docker run -it --rm -v /path/to/your/codecept/folder:/tests codecept-mocha-multi:latest
```