mirror of
https://github.com/gundb/panic-server.git
synced 2026-01-13 23:37:54 -05:00
After discussing the goals for panic more with Mark and Sean, I decided to take panic in a different direction. Previously, the interface used an options object to do test setup, and was completely declarative in nature. In order to do more complex things with the framework, it would have needed new features hacked into the existing one, without a solid, well tested foundation to build on. That was a bit frightening. As radical as it was, I decided to mostly rewrite the framework to be similar to a traditional test framework (such as jasmine or mocha), with a major twist - it will send your tests out to the connected clients to be run, and you can filter which platforms/peer IDs to run on. Since the approach is more imperative, it will be more verbose, but it also allows for faster scaling, ease of adding new features, more expressive/flexible tests, greater coverage, and approachable syntax. With luck, panic will be around for quite some time. If that's the case, it really, really needs high test coverage, so I began with jasmine from the start. In addition, who's going to trust results from an untested test framework?
40 lines
910 B
JSON
40 lines
910 B
JSON
{
|
|
"name": "panic",
|
|
"version": "0.1.0",
|
|
"description": "Test gun against a storm of requests",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "jasmine",
|
|
"start": "node server/server.js",
|
|
"build": "webpack --watch"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/PsychoLlama/panic.git"
|
|
},
|
|
"keywords": [
|
|
"gun",
|
|
"gundb",
|
|
"test",
|
|
"testing",
|
|
"distributed"
|
|
],
|
|
"author": "Jesse Gibson <jesse@gundb.io> (http://techllama.com)",
|
|
"license": "(Zlib OR MIT OR Apache-2.0)",
|
|
"bugs": {
|
|
"url": "https://github.com/PsychoLlama/panic/issues"
|
|
},
|
|
"homepage": "https://github.com/PsychoLlama/panic#readme",
|
|
"dependencies": {
|
|
"axios": "^0.9.1",
|
|
"body-parser": "^1.15.0",
|
|
"express": "^4.13.3",
|
|
"gun": "^0.3.1",
|
|
"object-assign-deep": "0.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"jasmine": "^2.4.1",
|
|
"webpack": "^1.12.14"
|
|
}
|
|
}
|