https://github.com/starefossen/testing-node-drivers
:boom: Testing Node.JS drivers with external dependencies
https://github.com/starefossen/testing-node-drivers
Last synced: 3 months ago
JSON representation
:boom: Testing Node.JS drivers with external dependencies
- Host: GitHub
- URL: https://github.com/starefossen/testing-node-drivers
- Owner: Starefossen
- Created: 2015-07-23T20:47:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-26T20:45:25.000Z (almost 10 years ago)
- Last Synced: 2025-03-14T19:01:44.459Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Testing Node Drivers
Testing popular database drivers for Node.JS using Docker and Docker Compose to
handle external dependencies.## Requirements
* Docker >= v1.5
* Docker Compose >= v1.2## Init Git Submodules
```
$ git submodule update --init --recursive
```## Adding New Drivers
```
$ git submodule add -b some-branch [email protected]:user/repo.git drivername
```The `drivername` must be the same name that you would like to name the service
in the [docker-compose.yml](docker-compose.yml) configuration.This is the configutation for `noderedis`:
```yml
noderedis:
image: iojs
working_dir: /usr/src/app
links:
- redis
volumes:
- noderedis:/usr/src/app
command: npm testredis:
image: redis
```## Running Driver Tests
```
$ ./run.sh
```