Skip to content

Adaptors tests #167

@mtuchi

Description

@mtuchi

Description

During the process of migration, we skipped a lot of tests that are failing. We should have a tests mock framework to make the process of writing test easy in adaptors.

Currently most of the tests in adaptors are quite similar, and this doesn't seem quite right, because the way an adaptor is being tested depends on the system that adaptor is for. For example if the adaptor is for a REST API then maybe mocking with libs like sinon is the way to go but if the adaptor is for a database then we should have defined database sandboxes to do integration tests, etc.

There are also some helper functions that are being re-tested like execute while they have already been tested in another adaptor.

@taylordowns2000 we do think that there should be an interesting discussion around the way adaptors are being tested currently and maybe an outcome of that discussion will be defining patterns, tools, strategies, ..., for testing adaptors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolingRelated to the builds and tooling

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions