Reduce boilerplate for creating new testers [npm appveyor gem uptimerobot clojars] (#1934)

This is a bit of sugar that reduces the boilerplate for creating testers in what I expect will become the standard case: a service in `foo/foo-thing.service.js` with its tests in `foo/foo-thing.tester.js`.

This makes a small stylistic change, which is to name the service by its CamelCase class name rather than an invented snake-case ID. Whereas before the name was specified in `class FooThing extends Base[Json]Service` and a second time in the tester, it now only needs to be specified once.
This commit is contained in:
Paul Melnikow
2018-08-22 18:07:51 -04:00
committed by GitHub
parent 452affba15
commit a0c43ed219
24 changed files with 629 additions and 531 deletions

View File

@@ -111,6 +111,7 @@
"babel-eslint": "^8.0.2",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"caller": "^1.0.1",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chai-string": "^1.4.0",