0.4.1 • Published 8 years ago

seneca-db-test-harness v0.4.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

TODO

Ubuntu 15.10 Node 0.10.38

SDBTH automates the process of testing seneca-stores against seneca applications. It deploys db and app in docker containers. Then it runs tests. Meanwhile it monitors for errors. Many tests can be scheduled at once.

https://www.youtube.com/watch?v=VYFfys8LwSk

#quick setup

  • pull this well app fork
  • inside it npm install
  • inside it mv options.example.js options.well.js
  • pull this repo, so that both folders are side by side
  • inside this npm install
  • beside both folders, create sdbth.conf file and add configuration(see below)
  • example use: node sdbth.js well -fb -dbs mem-5 mysql postgresql level jsonfile mongo redis

sdbth.conf

'use strict'

module.exports = {
  well: {
    optionsfile: __dirname + '/well/options.example.js',
    // docker images to run.
    // --link and -e db= will be added automatically.
    // if it exposes a port in dockerfile, tester will automatically
    // wait for it to start listening before booting next.
    dockimages: [
      { name: 'well-app', path: __dirname + '/well/.', testTarget: true }
    ],
    deploymode: 'series', // 'series' or 'parallel'
    testpath: __dirname + '/well/' // it will npm test in this location
  }
}
0.4.1

8 years ago

0.4.0

8 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.12

9 years ago

0.1.11

9 years ago

0.1.10

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago