Skip to content

[Long term] Integration to unit tests #16

@devill

Description

@devill

Many people prefer integration tests over unit tests for the added safety. However integration tests can be slow. This new feauture would allow users to configure their integration tests to record interactions with 3rd party tools (like databases) and then run their integration tests isolated relying on the interaction logs.

Why this is cool:

  • When the interaction log did not change we can assume that the test would still pass. (The underlying assumption is that the 3rd party behaviour didn't change)
  • Provides the safety of integration tests with the speed of unit tests.
  • When a test fails with the logged interactions it can be ran again to see if it passes that way. Once the test passes the new log can be saved automatically

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions