ethereumjs / ethereumjs-tx

Project is in active development and has been moved to the EthereumJS VM monorepo.
https://github.com/ethereumjs/ethereumjs-vm/tree/master/packages/tx
Mozilla Public License 2.0
781 stars 237 forks source link

Allow specification of test suite via command line arg. #129

Closed danjm closed 5 years ago

danjm commented 5 years ago

While working on https://github.com/ethereumjs/ethereumjs-tx/pull/126/, it seemed it would be nice if we could run just one of the test files at a time. This PR is a small change that allows us to provide a command line arg to the test:node command. For example: npm run test:node -- -t will run only the tests in test/transactionRunner.js.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 98.795% when pulling 92c458f58fde23ee98a97b2c4052382bdf08d511 on test-type-command-line-arg into 031592c7c6ec9c5498dde32e80e92ee40323d0a6 on master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 98.795% when pulling 92c458f58fde23ee98a97b2c4052382bdf08d511 on test-type-command-line-arg into 031592c7c6ec9c5498dde32e80e92ee40323d0a6 on master.