turned tests into a node module

This commit is contained in:
wanderer 2014-10-19 23:59:47 -04:00
parent 751668571e
commit ba35362876
2 changed files with 46 additions and 0 deletions

23
index.js Normal file
View File

@ -0,0 +1,23 @@
module.exports = {
blockgenesis: require('./blockgenesistest'),
genesishashes: require('./genesishashestest'),
hexencode: require('./hexencodetest'),
keyaddrtests: require('./keyaddrtest'),
namecoin: require('./namecoin'),
rlptest: require('./rlptest'),
trietest: require('./trietest'),
trietestnextprev: require('./trietestnextprev'),
txtest: require('./txtest'),
vmtests: {
random: require('./vmtests/random'),
vmArithmeticTest: require('./vmtests/vmArithmeticTest'),
vmBitwiseLogicOperationTest: require('./vmtests/vmBitwiseLogicOperationTest'),
vmBlockInfoTest: require('./vmtests/vmBlockInfoTest'),
vmEnvironmentalInfoTest: require('./vmtests/vmEnvironmentalInfoTest'),
vmIOandFlowOperationsTest: require('./vmtests/vmIOandFlowOperationsTest'),
vmPushDupSwapTest: require('./vmtests/vmPushDupSwapTest'),
vmSha3Test: require('./vmtests/vmSha3Test'),
vmSystemOperationsTest: require('./vmtests/vmSystemOperationsTest'),
vmtests: require('./vmtests/vmtests')
}
};

23
package.json Normal file
View File

@ -0,0 +1,23 @@
{
"name": "ethrereum-tests",
"version": "0.0.0",
"description": "tests for ethereum",
"main": "index.js",
"scripts": {
"test": "echo \"There are no tests for there tests\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/ethereum/tests"
},
"keywords": [
"tests",
"ethereum"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/ethereum/tests/issues"
},
"homepage": "https://github.com/ethereum/tests"
}