Truffle: Run individual tests

Created on 8 Jul 2015  路  2Comments  路  Source: trufflesuite/truffle

There should be a way to run only specific tests.
An interface for this could be:
truffle test - run all tests
truffle test testname - run specific test, where testname is a file in the test/ folder called testname.coffee

Most helpful comment

This has partially been added, and you'll see it in the latest release coming today.

$ truffle test ./path/to/test/file

All 2 comments

This would be very useful. Additionally it would be nice to be able to select different tests to run in sequence i.e.

truffle test contract1 contract2 contract3

This has partially been added, and you'll see it in the latest release coming today.

$ truffle test ./path/to/test/file
Was this page helpful?
0 / 5 - 0 ratings

Related issues

timothywangdev picture timothywangdev  路  3Comments

mezrin picture mezrin  路  3Comments

hefgi picture hefgi  路  3Comments

tcurdt picture tcurdt  路  3Comments

arunmitteam picture arunmitteam  路  3Comments