But I am not following
the example above looks very similar to my truffle test files.
is the time improvement only related to tests run time?
or also for writing the tests?
I do see the nice added value for testing events or getting balances.
but it doesn’t seem like it will make writing tests faster.
Neither not a good enough reason to migrate.
I am looking for ways to make testing faster and easier.
so please help me out here.
not sure what I a missing.
OpenZeppelin Test Environment greatly improves the time taken to run tests.
As per the Mocha test example, it is very similar to workflows using Mocha based tests, making it straight forward to migrate. (The tests for OpenZeppelin Contracts and OpenZeppelin SDK were migrated to OpenZeppelin Test Environment)
Whilst the tests don’t significantly change, the speed of running tests is a big improvement. In my opinion, this improves the speed of developing tests as I run tests many times whilst developing them.
For developers using test runners Jest or Ava, it allows tests to be developed to use their preferred test runners, again improving the experience.
OpenZeppelin Test Helpers integrates seamlessly with OpenZeppelin Test Environment, but it also supports Truffle tests and regular web3 workflows. So whether you use OpenZeppelin Test Environment or another workflow, you can make use of Test Helpers for things such as event emission, revert reasons, which all make it easier to write tests.
so it seems to me it does make sense to migrate from my side.
From what I see on high level.
migrating from truffle setup should be quiet seem less. right?