Skip to content

Improve Test Framework #148

@0xForerunner

Description

@0xForerunner

We currently have a pretty good array of integration tests, but I think it's worth exploring some more options.

#146 is a good start to getting more robust e2e tests through the kurtosis devnet. I think it's worth while ideating on how we can leverage the kurtosis devnet to probe more specific test cases.

The current integration test suite has a few shortcomings:

  • tendency to randomly fail at times and I'm not particularly sure what the root cause of this is.
  • It's also probably not best practice to use user installed dependencies like is currently being done with op-reth.
  • Relying on log parsing to make assertions is pretty fragile.

We could implement the current test suite entirely within a kurtosis devnet which would likely give us a bit more reliability. Additionally many of the current integration tests would work quite well using mocks instead.

I don't currently have the best solution at hand, but I'll take some time to investigate to see if I can find a good path forwards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions