Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[tests] started bootstrapping tests

  • Loading branch information...
commit d9fe2d7a7110be8ff5fd0dd35d1a721473898d0e 1 parent a033c64
@dscape authored
View
1  lib/winston-statsd.js
@@ -11,7 +11,6 @@
*
* mit license
*/
-
var inherits = require('util').inherits
, winston = require('winston')
, lynx = require('lynx')
View
3,685 tests/fixtures/master-args.json
3,685 additions, 0 deletions not shown
View
865 tests/fixtures/master.json
@@ -0,0 +1,865 @@
+[ "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.init:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.user.get:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.user.get:1|c"
+, "info.user.get:1|c"
+, "info.user.get:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.list.begin:1|c"
+, "users.marak.info.app.list.begin:1|c"
+, "info.user.get:1|c"
+, "info.app.list.begin:1|c"
+, "users.nodejitsu.info.app.list.begin:1|c"
+, "info.user.get:1|c"
+, "info.user.get:1|c"
+, "info.user.get:1|c"
+, "info.user.get:1|c"
+, "info.app.list.success:1|c"
+, "users.marak.info.app.list.success:1|c"
+, "info.app.list.success:1|c"
+, "users.nodejitsu.info.app.list.success:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.user.get:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.create.begin:1|c"
+, "users.charlie.info.app.create.begin:1|c"
+, "apps.charlie.chat.info.app.create.begin:1|c"
+, "info.service.incoming:1|c"
+, "info.app.create.success:1|c"
+, "users.charlie.info.app.create.success:1|c"
+, "apps.charlie.chat.info.app.create.success:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.show.begin:1|c"
+, "users.charlie.info.app.show.begin:1|c"
+, "apps.charlie.nosuchapp.info.app.show.begin:1|c"
+, "info.user.get:1|c"
+, "info.app.show.begin:1|c"
+, "users.charlie.info.app.show.begin:1|c"
+, "apps.charlie.chat.info.app.show.begin:1|c"
+, "info.user.get:1|c"
+, "info.app.list.begin:1|c"
+, "users.charlie.info.app.list.begin:1|c"
+, "info.user.get:1|c"
+, "info.app.create.begin:1|c"
+, "users.charlie.info.app.create.begin:1|c"
+, "apps.charlie.chat.info.app.create.begin:1|c"
+, "error.app.show:1|c"
+, "error.app.show.not_found:1|c"
+, "users.charlie.error.app.show:1|c"
+, "apps.charlie.nosuchapp.error.app.show:1|c"
+, "errors.charlie.nosuchapp.not_found.error.app.show:1|c"
+, "info.app.show.success:1|c"
+, "users.charlie.info.app.show.success:1|c"
+, "apps.charlie.chat.info.app.show.success:1|c"
+, "info.app.list.success:1|c"
+, "users.charlie.info.app.list.success:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.update.begin:1|c"
+, "users.charlie.info.app.update.begin:1|c"
+, "apps.charlie.chat.info.app.update.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.charlie.info.app.show.begin:1|c"
+, "apps.charlie.chat.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.charlie.info.app.show.success:1|c"
+, "apps.charlie.chat.info.app.show.success:1|c"
+, "info.app.update.success:1|c"
+, "users.charlie.info.app.update.success:1|c"
+, "apps.charlie.chat.info.app.update.success:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.destroy.begin:1|c"
+, "users.charlie.info.app.destroy.begin:1|c"
+, "apps.charlie.chat.info.app.destroy.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.charlie.info.app.show.begin:1|c"
+, "apps.charlie.chat.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.charlie.info.app.show.success:1|c"
+, "apps.charlie.chat.info.app.show.success:1|c"
+, "info.app.destroy.success:1|c"
+, "users.charlie.info.app.destroy.success:1|c"
+, "apps.charlie.chat.info.app.destroy.success:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.show.begin:1|c"
+, "users.charlie.info.app.show.begin:1|c"
+, "apps.charlie.chat.info.app.show.begin:1|c"
+, "info.user.get:1|c"
+, "info.app.destroy.begin:1|c"
+, "users.charlie.info.app.destroy.begin:1|c"
+, "apps.charlie.nosuchapp.info.app.destroy.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.charlie.info.app.show.begin:1|c"
+, "apps.charlie.nosuchapp.info.app.show.begin:1|c"
+, "error.app.show:1|c"
+, "error.app.show.not_found:1|c"
+, "users.charlie.error.app.show:1|c"
+, "apps.charlie.chat.error.app.show:1|c"
+, "errors.charlie.chat.not_found.error.app.show:1|c"
+, "error.app.show:1|c"
+, "error.app.show.not_found:1|c"
+, "users.charlie.error.app.show:1|c"
+, "apps.charlie.nosuchapp.error.app.show:1|c"
+, "errors.charlie.nosuchapp.not_found.error.app.show:1|c"
+, "error.app.destroy:1|c"
+, "users.charlie.error.app.destroy:1|c"
+, "apps.charlie.nosuchapp.error.app.destroy:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.start:1|c"
+, "info.app.start.begin:1|c"
+, "users.marak.info.app.start.begin:1|c"
+, "apps.marak.badapp.info.app.start.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.badapp.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.badapp.info.app.show.success:1|c"
+, "info.app.provision.begin:1|c"
+, "users.marak.info.app.provision.begin:1|c"
+, "apps.marak.badapp.info.app.provision.begin:1|c"
+, "info.app.begin.all:1|c"
+, "users.marak.info.app.begin.all:1|c"
+, "apps.marak.badapp.info.app.begin.all:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.badapp.info.app.slave.tell:1|c"
+, "info.drone.cleanAll.end:1|c"
+, "info.repository.create:1|c"
+, "users.marak.info.repository.create:1|c"
+, "apps.marak.badapp.info.repository.create:1|c"
+, "warn.repo.dir.notfound:1|c"
+, "users.marak.warn.repo.dir.notfound:1|c"
+, "apps.marak.badapp.warn.repo.dir.notfound:1|c"
+, "info.repo.dir.user.create:1|c"
+, "users.marak.info.repo.dir.user.create:1|c"
+, "apps.marak.badapp.info.repo.dir.user.create:1|c"
+, "info.repo.dir.user.success:1|c"
+, "users.marak.info.repo.dir.user.success:1|c"
+, "apps.marak.badapp.info.repo.dir.user.success:1|c"
+, "info.repo.dir.app.create:1|c"
+, "users.marak.info.repo.dir.app.create:1|c"
+, "apps.marak.badapp.info.repo.dir.app.create:1|c"
+, "info.repo.dir.app.success:1|c"
+, "users.marak.info.repo.dir.app.success:1|c"
+, "apps.marak.badapp.info.repo.dir.app.success:1|c"
+, "info.tar.get:1|c"
+, "users.marak.info.tar.get:1|c"
+, "info.repo.dir.exists:1|c"
+, "users.marak.info.repo.dir.exists:1|c"
+, "apps.marak.badapp.info.repo.dir.exists:1|c"
+, "info.npm.load:1|c"
+, "info.npm.install.none:1|c"
+, "users.marak.info.npm.install.none:1|c"
+, "apps.marak.badapp.info.npm.install.none:1|c"
+, "info.spawn.setup:1|c"
+, "users.marak.info.spawn.setup:1|c"
+, "apps.marak.badapp.info.spawn.setup:1|c"
+, "info.spawn.begin:1|c"
+, "users.marak.info.spawn.begin:1|c"
+, "apps.marak.badapp.info.spawn.begin:1|c"
+, "info.drone.start:1|c"
+, "info.drone.stop:1|c"
+, "info.drone.start:1|c"
+, "error.error.service:1|c"
+, "error.error.service.error_spawning_drone:1|c"
+, "error.app.slave.tell:1|c"
+, "error.app.slave.tell.haibu_error_500_internal_server_error:1|c"
+, "users.marak.error.app.slave.tell:1|c"
+, "apps.marak.badapp.error.app.slave.tell:1|c"
+, "errors.marak.badapp.haibu_error_500_internal_server_error.error.app.slave.tell:1|c"
+, "info.drone.clean.warning:1|c"
+, "info.drone.clean.warning.cannot_stop_application_that_is_not_running:1|c"
+, "info.user.get:1|c"
+, "info.app.start.begin:1|c"
+, "users.marak.info.app.start.begin:1|c"
+, "apps.marak.envvars.info.app.start.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.envvars.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.envvars.info.app.show.success:1|c"
+, "info.app.provision.begin:1|c"
+, "users.marak.info.app.provision.begin:1|c"
+, "apps.marak.envvars.info.app.provision.begin:1|c"
+, "info.app.begin.all:1|c"
+, "users.marak.info.app.begin.all:1|c"
+, "apps.marak.envvars.info.app.begin.all:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.envvars.info.app.slave.tell:1|c"
+, "info.drone.cleanAll.end:1|c"
+, "info.repository.create:1|c"
+, "users.marak.info.repository.create:1|c"
+, "apps.marak.envvars.info.repository.create:1|c"
+, "warn.repo.dir.notfound:1|c"
+, "users.marak.warn.repo.dir.notfound:1|c"
+, "apps.marak.envvars.warn.repo.dir.notfound:1|c"
+, "info.repo.dir.user.create:1|c"
+, "users.marak.info.repo.dir.user.create:1|c"
+, "apps.marak.envvars.info.repo.dir.user.create:1|c"
+, "info.repo.dir.user.success:1|c"
+, "users.marak.info.repo.dir.user.success:1|c"
+, "apps.marak.envvars.info.repo.dir.user.success:1|c"
+, "info.repo.dir.app.create:1|c"
+, "users.marak.info.repo.dir.app.create:1|c"
+, "apps.marak.envvars.info.repo.dir.app.create:1|c"
+, "info.repo.dir.app.success:1|c"
+, "users.marak.info.repo.dir.app.success:1|c"
+, "apps.marak.envvars.info.repo.dir.app.success:1|c"
+, "info.tar.get:1|c"
+, "users.marak.info.tar.get:1|c"
+, "info.repo.dir.exists:1|c"
+, "users.marak.info.repo.dir.exists:1|c"
+, "apps.marak.envvars.info.repo.dir.exists:1|c"
+, "info.npm.load:1|c"
+, "info.npm.install.none:1|c"
+, "users.marak.info.npm.install.none:1|c"
+, "apps.marak.envvars.info.npm.install.none:1|c"
+, "info.spawn.setup:1|c"
+, "users.marak.info.spawn.setup:1|c"
+, "apps.marak.envvars.info.spawn.setup:1|c"
+, "info.spawn.begin:1|c"
+, "users.marak.info.spawn.begin:1|c"
+, "apps.marak.envvars.info.spawn.begin:1|c"
+, "info.drone.start:1|c"
+, "info.drone.port:1|c"
+, "info.app.slave.tell.success:1|c"
+, "users.marak.info.app.slave.tell.success:1|c"
+, "apps.marak.envvars.info.app.slave.tell.success:1|c"
+, "info.user.get:1|c"
+, "info.app.start.success:1|c"
+, "users.marak.info.app.start.success:1|c"
+, "apps.marak.envvars.info.app.start.success:1|c"
+, "info.app.stop.begin:1|c"
+, "users.marak.info.app.stop.begin:1|c"
+, "apps.marak.envvars.info.app.stop.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.envvars.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.envvars.info.app.show.success:1|c"
+, "info.drone.clean.warning:1|c"
+, "info.drone.clean.warning.cannot_stop_application_that_is_not_running:1|c"
+, "info.app.start.begin:1|c"
+, "users.marak.info.app.start.begin:1|c"
+, "apps.marak.test.info.app.start.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.test.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.test.info.app.show.success:1|c"
+, "info.app.provision.begin:1|c"
+, "users.marak.info.app.provision.begin:1|c"
+, "apps.marak.test.info.app.provision.begin:1|c"
+, "info.app.begin.all:1|c"
+, "users.marak.info.app.begin.all:1|c"
+, "apps.marak.test.info.app.begin.all:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.test.info.app.slave.tell:1|c"
+, "info.drone.cleanAll.end:1|c"
+, "info.repository.create:1|c"
+, "users.marak.info.repository.create:1|c"
+, "apps.marak.test.info.repository.create:1|c"
+, "warn.repo.dir.notfound:1|c"
+, "users.marak.warn.repo.dir.notfound:1|c"
+, "apps.marak.test.warn.repo.dir.notfound:1|c"
+, "info.repo.dir.user.create:1|c"
+, "users.marak.info.repo.dir.user.create:1|c"
+, "apps.marak.test.info.repo.dir.user.create:1|c"
+, "info.repo.dir.user.success:1|c"
+, "users.marak.info.repo.dir.user.success:1|c"
+, "apps.marak.test.info.repo.dir.user.success:1|c"
+, "info.repo.dir.app.create:1|c"
+, "users.marak.info.repo.dir.app.create:1|c"
+, "apps.marak.test.info.repo.dir.app.create:1|c"
+, "info.repo.dir.app.success:1|c"
+, "users.marak.info.repo.dir.app.success:1|c"
+, "apps.marak.test.info.repo.dir.app.success:1|c"
+, "info.tar.get:1|c"
+, "users.marak.info.tar.get:1|c"
+, "info.repo.dir.exists:1|c"
+, "users.marak.info.repo.dir.exists:1|c"
+, "apps.marak.test.info.repo.dir.exists:1|c"
+, "info.npm.load:1|c"
+, "info.npm.install.none:1|c"
+, "users.marak.info.npm.install.none:1|c"
+, "apps.marak.test.info.npm.install.none:1|c"
+, "info.spawn.setup:1|c"
+, "users.marak.info.spawn.setup:1|c"
+, "apps.marak.test.info.spawn.setup:1|c"
+, "info.spawn.begin:1|c"
+, "users.marak.info.spawn.begin:1|c"
+, "apps.marak.test.info.spawn.begin:1|c"
+, "info.drone.start:1|c"
+, "info.drone.port:1|c"
+, "info.app.slave.tell.success:1|c"
+, "users.marak.info.app.slave.tell.success:1|c"
+, "apps.marak.test.info.app.slave.tell.success:1|c"
+, "info.user.get:1|c"
+, "info.app.start.success:1|c"
+, "users.marak.info.app.start.success:1|c"
+, "apps.marak.test.info.app.start.success:1|c"
+, "info.app.restart.begin:1|c"
+, "users.marak.info.app.restart.begin:1|c"
+, "apps.marak.test.info.app.restart.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.test.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.test.info.app.show.success:1|c"
+, "info.drone.stop:1|c"
+, "info.drone.start:1|c"
+, "info.app.stop.begin:1|c"
+, "users.marak.info.app.stop.begin:1|c"
+, "apps.marak.test.info.app.stop.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.test.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.test.info.app.show.success:1|c"
+, "info.drone.clean.warning:1|c"
+, "info.drone.clean.warning.cannot_stop_application_that_is_not_running:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.app.list.begin:1|c"
+, "users.marak.info.app.list.begin:1|c"
+, "info.app.create.begin:1|c"
+, "users.charlie.info.app.create.begin:1|c"
+, "apps.charlie.test.info.app.create.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.test.info.app.show.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.INVALID_SAUCE.info.app.show.begin:1|c"
+, "error.app.show:1|c"
+, "error.app.show.not_found:1|c"
+, "users.marak.error.app.show:1|c"
+, "apps.marak.INVALID_SAUCE.error.app.show:1|c"
+, "errors.marak.INVALID_SAUCE.not_found.error.app.show:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.test.info.app.show.success:1|c"
+, "info.app.list.success:1|c"
+, "users.marak.info.app.list.success:1|c"
+, "info.app.create.success:1|c"
+, "users.charlie.info.app.create.success:1|c"
+, "apps.charlie.test.info.app.create.success:1|c"
+, "info.app.update.begin:1|c"
+, "users.charlie.info.app.update.begin:1|c"
+, "apps.charlie.test.info.app.update.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.charlie.info.app.show.begin:1|c"
+, "apps.charlie.test.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.charlie.info.app.show.success:1|c"
+, "apps.charlie.test.info.app.show.success:1|c"
+, "info.app.update.success:1|c"
+, "users.charlie.info.app.update.success:1|c"
+, "apps.charlie.test.info.app.update.success:1|c"
+, "info.app.destroy.begin:1|c"
+, "users.charlie.info.app.destroy.begin:1|c"
+, "apps.charlie.test.info.app.destroy.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.charlie.info.app.show.begin:1|c"
+, "apps.charlie.test.info.app.show.begin:1|c"
+, "info.app.destroy.begin:1|c"
+, "users.invalid_sauce.info.app.destroy.begin:1|c"
+, "apps.invalid_sauce.test.info.app.destroy.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.invalid_sauce.info.app.show.begin:1|c"
+, "apps.invalid_sauce.test.info.app.show.begin:1|c"
+, "error.app.show:1|c"
+, "error.app.show.not_found:1|c"
+, "users.invalid_sauce.error.app.show:1|c"
+, "apps.invalid_sauce.test.error.app.show:1|c"
+, "errors.invalid_sauce.test.not_found.error.app.show:1|c"
+, "error.app.destroy:1|c"
+, "users.invalid_sauce.error.app.destroy:1|c"
+, "apps.invalid_sauce.test.error.app.destroy:1|c"
+, "info.app.show.success:1|c"
+, "users.charlie.info.app.show.success:1|c"
+, "apps.charlie.test.info.app.show.success:1|c"
+, "info.app.destroy.success:1|c"
+, "users.charlie.info.app.destroy.success:1|c"
+, "apps.charlie.test.info.app.destroy.success:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.start:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.start.begin:1|c"
+, "users.marak.info.app.start.begin:1|c"
+, "apps.marak.test.info.app.start.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.test.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.test.info.app.show.success:1|c"
+, "info.app.provision.begin:1|c"
+, "users.marak.info.app.provision.begin:1|c"
+, "apps.marak.test.info.app.provision.begin:1|c"
+, "info.app.begin.all:1|c"
+, "users.marak.info.app.begin.all:1|c"
+, "apps.marak.test.info.app.begin.all:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.test.info.app.slave.tell:1|c"
+, "error.app.slave.tell:1|c"
+, "error.app.slave.tell.connect_econnrefused:1|c"
+, "users.marak.error.app.slave.tell:1|c"
+, "apps.marak.test.error.app.slave.tell:1|c"
+, "errors.marak.test.connect_econnrefused.error.app.slave.tell:1|c"
+, "info.user.get:1|c"
+, "info.app.provision.begin:1|c"
+, "users.marak.info.app.provision.begin:1|c"
+, "apps.marak.test.info.app.provision.begin:1|c"
+, "info.app.begin.all:1|c"
+, "users.marak.info.app.begin.all:1|c"
+, "apps.marak.test.info.app.begin.all:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.test.info.app.slave.tell:1|c"
+, "info.drone.cleanAll.end:1|c"
+, "info.repository.create:1|c"
+, "users.marak.info.repository.create:1|c"
+, "apps.marak.test.info.repository.create:1|c"
+, "warn.repo.dir.notfound:1|c"
+, "users.marak.warn.repo.dir.notfound:1|c"
+, "apps.marak.test.warn.repo.dir.notfound:1|c"
+, "info.repo.dir.user.create:1|c"
+, "users.marak.info.repo.dir.user.create:1|c"
+, "apps.marak.test.info.repo.dir.user.create:1|c"
+, "info.repo.dir.user.success:1|c"
+, "users.marak.info.repo.dir.user.success:1|c"
+, "apps.marak.test.info.repo.dir.user.success:1|c"
+, "info.repo.dir.app.create:1|c"
+, "users.marak.info.repo.dir.app.create:1|c"
+, "apps.marak.test.info.repo.dir.app.create:1|c"
+, "info.repo.dir.app.success:1|c"
+, "users.marak.info.repo.dir.app.success:1|c"
+, "apps.marak.test.info.repo.dir.app.success:1|c"
+, "info.tar.get:1|c"
+, "users.marak.info.tar.get:1|c"
+, "info.repo.dir.exists:1|c"
+, "users.marak.info.repo.dir.exists:1|c"
+, "apps.marak.test.info.repo.dir.exists:1|c"
+, "info.npm.load:1|c"
+, "info.npm.install.none:1|c"
+, "users.marak.info.npm.install.none:1|c"
+, "apps.marak.test.info.npm.install.none:1|c"
+, "info.spawn.setup:1|c"
+, "users.marak.info.spawn.setup:1|c"
+, "apps.marak.test.info.spawn.setup:1|c"
+, "info.spawn.begin:1|c"
+, "users.marak.info.spawn.begin:1|c"
+, "apps.marak.test.info.spawn.begin:1|c"
+, "info.drone.start:1|c"
+, "info.drone.port:1|c"
+, "info.app.slave.tell.success:1|c"
+, "users.marak.info.app.slave.tell.success:1|c"
+, "apps.marak.test.info.app.slave.tell.success:1|c"
+, "info.user.get:1|c"
+, "info.app.start.success:1|c"
+, "users.marak.info.app.start.success:1|c"
+, "apps.marak.test.info.app.start.success:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.repository.create:1|c"
+, "users.marak.info.repository.create:1|c"
+, "apps.marak.test.info.repository.create:1|c"
+, "info.repo.dir.exists:1|c"
+, "users.marak.info.repo.dir.exists:1|c"
+, "apps.marak.test.info.repo.dir.exists:1|c"
+, "info.spawn.setup:1|c"
+, "users.marak.info.spawn.setup:1|c"
+, "apps.marak.test.info.spawn.setup:1|c"
+, "info.spawn.begin:1|c"
+, "users.marak.info.spawn.begin:1|c"
+, "apps.marak.test.info.spawn.begin:1|c"
+, "info.drone.start:1|c"
+, "info.drone.port:1|c"
+, "info.start:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.create.begin:1|c"
+, "users.charlie.info.app.create.begin:1|c"
+, "apps.charlie.chat.info.app.create.begin:1|c"
+, "info.app.create.success:1|c"
+, "users.charlie.info.app.create.success:1|c"
+, "apps.charlie.chat.info.app.create.success:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.start.begin:1|c"
+, "users.marak.info.app.start.begin:1|c"
+, "apps.marak.test.info.app.start.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.test.info.app.show.begin:1|c"
+, "info.user.get:1|c"
+, "info.app.start.begin:1|c"
+, "users.charlie.info.app.start.begin:1|c"
+, "apps.charlie.chat.info.app.start.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.charlie.info.app.show.begin:1|c"
+, "apps.charlie.chat.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.test.info.app.show.success:1|c"
+, "info.app.provision.begin:1|c"
+, "users.marak.info.app.provision.begin:1|c"
+, "apps.marak.test.info.app.provision.begin:1|c"
+, "info.app.begin.all:1|c"
+, "users.marak.info.app.begin.all:1|c"
+, "apps.marak.test.info.app.begin.all:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.test.info.app.slave.tell:1|c"
+, "info.app.show.success:1|c"
+, "users.charlie.info.app.show.success:1|c"
+, "apps.charlie.chat.info.app.show.success:1|c"
+, "info.drone.cleanAll.end:1|c"
+, "info.repository.create:1|c"
+, "users.marak.info.repository.create:1|c"
+, "apps.marak.test.info.repository.create:1|c"
+, "warn.repo.dir.notfound:1|c"
+, "users.marak.warn.repo.dir.notfound:1|c"
+, "apps.marak.test.warn.repo.dir.notfound:1|c"
+, "info.repo.dir.user.create:1|c"
+, "users.marak.info.repo.dir.user.create:1|c"
+, "apps.marak.test.info.repo.dir.user.create:1|c"
+, "info.repo.dir.user.success:1|c"
+, "users.marak.info.repo.dir.user.success:1|c"
+, "apps.marak.test.info.repo.dir.user.success:1|c"
+, "info.repo.dir.app.create:1|c"
+, "users.marak.info.repo.dir.app.create:1|c"
+, "apps.marak.test.info.repo.dir.app.create:1|c"
+, "info.repo.dir.app.success:1|c"
+, "users.marak.info.repo.dir.app.success:1|c"
+, "apps.marak.test.info.repo.dir.app.success:1|c"
+, "info.tar.get:1|c"
+, "users.marak.info.tar.get:1|c"
+, "info.repo.dir.exists:1|c"
+, "users.marak.info.repo.dir.exists:1|c"
+, "apps.marak.test.info.repo.dir.exists:1|c"
+, "info.npm.load:1|c"
+, "info.npm.install.none:1|c"
+, "users.marak.info.npm.install.none:1|c"
+, "apps.marak.test.info.npm.install.none:1|c"
+, "info.spawn.setup:1|c"
+, "users.marak.info.spawn.setup:1|c"
+, "apps.marak.test.info.spawn.setup:1|c"
+, "info.spawn.begin:1|c"
+, "users.marak.info.spawn.begin:1|c"
+, "apps.marak.test.info.spawn.begin:1|c"
+, "info.drone.start:1|c"
+, "info.drone.port:1|c"
+, "info.app.slave.tell.success:1|c"
+, "users.marak.info.app.slave.tell.success:1|c"
+, "apps.marak.test.info.app.slave.tell.success:1|c"
+, "info.user.get:1|c"
+, "info.app.start.success:1|c"
+, "users.marak.info.app.start.success:1|c"
+, "apps.marak.test.info.app.start.success:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.restart.begin:1|c"
+, "users.marak.info.app.restart.begin:1|c"
+, "apps.marak.test.info.app.restart.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.test.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.test.info.app.show.success:1|c"
+, "error.error.service:1|c"
+, "error.error.service.cannot_restart_application_that_is_not_running:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.stop.begin:1|c"
+, "users.marak.info.app.stop.begin:1|c"
+, "apps.marak.test.info.app.stop.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.test.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.test.info.app.show.success:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.destroy.begin:1|c"
+, "users.charlie.info.app.destroy.begin:1|c"
+, "apps.charlie.chat.info.app.destroy.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.charlie.info.app.show.begin:1|c"
+, "apps.charlie.chat.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.charlie.info.app.show.success:1|c"
+, "apps.charlie.chat.info.app.show.success:1|c"
+, "info.app.destroy.success:1|c"
+, "users.charlie.info.app.destroy.success:1|c"
+, "apps.charlie.chat.info.app.destroy.success:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.start.begin:1|c"
+, "users.marak.info.app.start.begin:1|c"
+, "apps.marak.badapp.info.app.start.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.badapp.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.badapp.info.app.show.success:1|c"
+, "info.app.provision.begin:1|c"
+, "users.marak.info.app.provision.begin:1|c"
+, "apps.marak.badapp.info.app.provision.begin:1|c"
+, "info.app.begin.all:1|c"
+, "users.marak.info.app.begin.all:1|c"
+, "apps.marak.badapp.info.app.begin.all:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.badapp.info.app.slave.tell:1|c"
+, "info.drone.cleanAll.end:1|c"
+, "info.repository.create:1|c"
+, "users.marak.info.repository.create:1|c"
+, "apps.marak.badapp.info.repository.create:1|c"
+, "warn.repo.dir.notfound:1|c"
+, "users.marak.warn.repo.dir.notfound:1|c"
+, "apps.marak.badapp.warn.repo.dir.notfound:1|c"
+, "info.repo.dir.user.create:1|c"
+, "users.marak.info.repo.dir.user.create:1|c"
+, "apps.marak.badapp.info.repo.dir.user.create:1|c"
+, "info.repo.dir.user.success:1|c"
+, "users.marak.info.repo.dir.user.success:1|c"
+, "apps.marak.badapp.info.repo.dir.user.success:1|c"
+, "info.repo.dir.app.create:1|c"
+, "users.marak.info.repo.dir.app.create:1|c"
+, "apps.marak.badapp.info.repo.dir.app.create:1|c"
+, "info.repo.dir.app.success:1|c"
+, "users.marak.info.repo.dir.app.success:1|c"
+, "apps.marak.badapp.info.repo.dir.app.success:1|c"
+, "info.tar.get:1|c"
+, "users.marak.info.tar.get:1|c"
+, "info.repo.dir.exists:1|c"
+, "users.marak.info.repo.dir.exists:1|c"
+, "apps.marak.badapp.info.repo.dir.exists:1|c"
+, "info.npm.load:1|c"
+, "info.npm.install.none:1|c"
+, "users.marak.info.npm.install.none:1|c"
+, "apps.marak.badapp.info.npm.install.none:1|c"
+, "info.spawn.setup:1|c"
+, "users.marak.info.spawn.setup:1|c"
+, "apps.marak.badapp.info.spawn.setup:1|c"
+, "info.spawn.begin:1|c"
+, "users.marak.info.spawn.begin:1|c"
+, "apps.marak.badapp.info.spawn.begin:1|c"
+, "info.drone.start:1|c"
+, "info.drone.stop:1|c"
+, "info.drone.start:1|c"
+, "error.error.service:1|c"
+, "error.error.service.error_spawning_drone:1|c"
+, "error.app.slave.tell:1|c"
+, "error.app.slave.tell.haibu_error_500_internal_server_error:1|c"
+, "users.marak.error.app.slave.tell:1|c"
+, "apps.marak.badapp.error.app.slave.tell:1|c"
+, "errors.marak.badapp.haibu_error_500_internal_server_error.error.app.slave.tell:1|c"
+, "info.drone.clean.warning:1|c"
+, "info.drone.clean.warning.cannot_stop_application_that_is_not_running:1|c"
+, "info.user.get:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.user.get:1|c"
+, "info.user.get:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.start:1|c"
+, "info.service.incoming:1|c"
+, "info.user.get:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.test.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.test.info.app.show.success:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.test.info.app.show.begin:1|c"
+, "info.app.show.success:1|c"
+, "users.marak.info.app.show.success:1|c"
+, "apps.marak.test.info.app.show.success:1|c"
+, "info.plugin.set_resourceful.init:1|c"
+, "info.plugin.resourceful.init:1|c"
+, "info.plugin.mailer.init:1|c"
+, "info.plugin.http_users.init:1|c"
+, "info.plugin.restful.init:1|c"
+, "info.plugin.nodejitsu_billing.init:1|c"
+, "info.plugin.unauthorized_user_create.init:1|c"
+, "info.plugin.directories.init:1|c"
+, "info.init:1|c"
+, "info.service.incoming:1|c"
+, "info.user.create:1|c"
+, "users.benji.info.user.create:1|c"
+]
View
200 tests/macros.js
@@ -0,0 +1,200 @@
+var path = require('path')
+ , dgram = require('dgram')
+ , test = require('tap').test
+ , lynx = require('lynx')
+ , macros = exports
+ ;
+
+//
+// set the server port
+//
+macros.udp_server_port = 9753;
+
+//
+// create a connection
+//
+macros.connection = new lynx('localhost', macros.udp_server_port);
+
+//
+// ### function udp_server(on_message)
+//
+// #### @on_message {function} function to be run on each message
+//
+// start a `udp` server.
+//
+macros.udp_server = function udp_server(on_message) {
+ var socket = dgram.createSocket('udp4', on_message);
+
+ //
+ // listen in some (not so) random port
+ //
+ socket.bind(macros.udp_server_port, 'localhost');
+
+ return socket;
+};
+
+//
+// ### function udp_fixtures_server(test_name, on_test)
+//
+// #### @test_name {string} the test that is calling this, so we can load
+// the respective fixture
+// #### @on_test {function} function that returns the result of a specific
+// test
+//
+// start a `udp` server that will expect an event that is
+// mocked in `fixtures`
+//
+macros.udp_fixtures_server = function (test_name, t, on_test) {
+ //
+ // set the path for the fixture we want to load
+ //
+ var fixture_path = path.join('fixtures', test_name + '.json');
+
+ //
+ // try to load the fixture.
+ // this will break your program if you delete by mistake
+ //
+ var fixture = require('./' + fixture_path);
+
+ //
+ // the number of requests we expect to get
+ //
+ var nr_requests = fixture.length
+ , i_requests = 0
+ ;
+
+ //
+ // create a udp socket
+ //
+ var socket = macros.udp_server(function (message, remote) {
+ //
+ // we got another one
+ //
+ i_requests++;
+
+ //
+ // `remote.address` for remote address
+ // `remote.port` for remote port
+ // `remote.size` for data lenght
+ // `message.toString('ascii', 0, remote.size)` for textual contents
+ //
+ var actual = macros.parse_message(message, remote.size)
+ , i_expected = fixture.indexOf(actual)
+ ;
+
+ //
+ // found it
+ //
+ if (~i_expected) {
+ var expected = fixture[i_expected];
+
+ //
+ // remove the found item from fixture to test
+ //
+ fixture.splice(i_expected, 1);
+
+ //
+ // return our test results
+ //
+ on_test(true, {expected: expected, actual: actual, remaining: fixture});
+ }
+ //
+ // we didn't find that response in the response array
+ //
+ else {
+ on_test(false, { expected: null, actual: actual, remaining: fixture});
+ }
+
+ //
+ // if we are done
+ //
+ if(i_requests === nr_requests) {
+ //
+ // close the server
+ //
+ socket.close();
+
+ //
+ // tests are complete
+ //
+ t.end();
+ }
+ });
+};
+
+//
+// ### function match_fixtures_test(resource, f)
+//
+// #### @resource {string} the resource we are testing
+// #### @f {function} the actual udp client calls to be received by
+// our mock server
+//
+// 1. loads fixtures for this resource and checks how many client requests
+// are going to exist
+// 2. runs a tests that:
+// 2.1. start a `udp` server that will expect a event that
+// is mocked in `fixtures`
+// 2.2. runs client code that should match what has been mocked
+//
+macros.match_fixtures_test = function match_fixtures_test(resource, f) {
+ var current_fixture = require('./fixtures/' + resource);
+
+ //
+ // all of our counting tests
+ //
+ test(resource + ' test', function (t) {
+ //
+ // setup our server
+ //
+ macros.udp_fixtures_server(resource, t, function (err, info) {
+ //
+ // just treat it like any other thing.
+ // but hey, that fixture is wrong dude!
+ //
+ if(typeof info.expected === 'string') {
+ t.equal(info.expected, info.actual,
+ 'equality check for ' + info.actual);
+ }
+ //
+ // this failed, let's show the array of possibilities that could
+ // have matched
+ //
+ else {
+ t.equal(info.remaining, [info.actual],
+ "didn't find value " + info.actual +
+ ' in array of possible fixtures');
+ }
+ });
+
+ //
+ // run our client code
+ //
+ if(resource === 'scopes') {
+ macros.connection.close();
+ macros.connection = new lynx('localhost', macros.udp_server_port, {
+ scope: 'scope' });
+ }
+ f(macros.connection);
+ });
+};
+
+//
+// ### function parse_message(message, size)
+//
+// #### @message {string} message to decode
+//
+// parses a message
+//
+macros.parse_message = function parse_message(message, size) {
+ return message.toString('ascii', 0, size);
+};
+
+//
+// export simple `tap` tests
+//
+macros.test = test;
+
+//
+// export `lynx`
+//
+macros.lynx = lynx;
View
12 tests/master-tests.js
@@ -0,0 +1,12 @@
+var macros = require('./macros');
+
+//
+// Our `master` tests
+// should match `tests/fixtures/master.json`
+//
+macros.matchFixturesTest('master', function runTest(connection) {
+ connection.increment('foo.bar');
+ connection.decrement('foo.baz');
+ connection.decrement(['uno', 'two', 'trezentos']);
+ connection.count('boaz', 101);
+});
Please sign in to comment.
Something went wrong with that request. Please try again.