diff --git a/docs/developer.md b/docs/developer.md index 61ba6c10e81..b59ec9f9a17 100644 --- a/docs/developer.md +++ b/docs/developer.md @@ -11,10 +11,6 @@ or the associated YouTube video introduction to [core development with Ethereumj #### Running different Test Types -Running all the tests: - -`npm test` - Running the State tests: `node ./tests/tester -s` diff --git a/package.json b/package.json index 91022662c7b..cd8f48c4e5b 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "testBlockchain": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --fork='Constantinople' --dist --excludeDir='GeneralStateTests'", "testBlockchainGeneralStateTests": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --dir='GeneralStateTests'", "testAPI": "tape ./tests/api/*.js", - "test": "node ./tests/tester -a", + "test": "echo \"[INFO] Generic test cmd not used. See package.json for more specific test run cmds.\"", "lint": "standard", "prepublishOnly": "npm run lint && npm run build:dist && npm run testBuildIntegrity", "build:dist": "babel lib/ -d dist/", diff --git a/tests/tester.js b/tests/tester.js index 474be46cfdc..2368b153b57 100755 --- a/tests/tester.js +++ b/tests/tester.js @@ -1,7 +1,6 @@ #!/usr/bin/env node const argv = require('minimist')(process.argv.slice(2)) -const async = require('async') const tape = require('tape') const testing = require('ethereumjs-testing') const FORK_CONFIG = argv.fork || 'Byzantium' @@ -115,8 +114,6 @@ if (argv.r) { runTests('VMTests', argv) } else if (argv.b) { runTests('BlockchainTests', argv) -} else if (argv.a) { - runAll() } // randomized tests @@ -244,14 +241,3 @@ function runTests (name, runnerArgs, cb) { }) } } - -function runAll () { - require('./tester.js') - require('./genesishashes.js') - require('./constantinopleSstoreTest.js') - async.series([ - // runTests.bind(this, 'VMTests', {}), // VM tests disabled since we don't support Frontier gas costs - runTests.bind(this, 'GeneralStateTests', {}), - runTests.bind(this, 'BlockchainTests', {}) - ]) -}