You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
You need a custom migrations script, in addition to the 1_initial_migration.js and 2_deploy_contracts.js, e.g. 3_setup_contracts.js and multiple contract test files
Expect after each contract tests are run the migrations to deploy a clean environment AND run the migration scripts.
Actual Results
New contracts are deployed to the network and linked to libraries but the effects of the custom migration script, i.e. 3_setup_contracts.js are not present after the first run.
Environment
Operating System: OSX
Truffle version: 3.2.1
Ethereum client: tested with both parity 1.3.15 and geth 1.5.5
node version: 4.6.1
npm version: 2.15.9
The text was updated successfully, but these errors were encountered:
Issue
The clear-room environment which truffle provides for running each
contract
test, as specified here http://truffleframework.com/docs/getting_started/testing#clean-room-environment is not running any additional custom migrations scripts.Steps to Reproduce
You need a custom migrations script, in addition to the
1_initial_migration.js
and2_deploy_contracts.js
, e.g.3_setup_contracts.js
and multiple contract test filesrun with
truffle test
Expected Behavior
Expect after each contract tests are run the migrations to deploy a clean environment AND run the migration scripts.
Actual Results
New contracts are deployed to the network and linked to libraries but the effects of the custom migration script, i.e.
3_setup_contracts.js
are not present after the first run.Environment
parity 1.3.15
andgeth 1.5.5
The text was updated successfully, but these errors were encountered: