Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

"-f" (from) and "--to" flags ignored in "truffle test" #5868

Open
1 task
earizon opened this issue Feb 2, 2023 · 0 comments
Open
1 task

"-f" (from) and "--to" flags ignored in "truffle test" #5868

earizon opened this issue Feb 2, 2023 · 0 comments

Comments

@earizon
Copy link

earizon commented Feb 2, 2023


Issue

Enable flags "-f" (from) and "--to" in "truffle test", working in a similar way to how they work in "truffle migrate". At this moment those flags are accepted but ignored and so all migration scripts are executed during tests.

Related: #503

Steps to Reproduce

  • Create N "mock" migration tests migrations/2_mock.js, migration/3_mock.js, ...
  • Execute "truffle test -f 100"

Expected Behavior

migrations scripts are NOT executed (skipped)

Actual Results

migration scripts are executed.

Environment

  • Operating System: ALL
  • Ethereum client: ALL
  • Truffle version (truffle version): 5.7.4
  • node version (node --version): 16 LTS
  • npm version (npm --version): 9.2.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants