Skip to content

[feature] Unit and integration tests

We need to include in our pipeline the unit and preferable integration tests.

For integration test we might want to hit directly the endpoint with "already existing" records, as well as different options like "create, update, delete"

Would be nice if we can include to query for these records in the spark connect directly somehow.

sequenceDiagram
    Test->>+Storage: Create random storage record for each test
    Test->>+Wrapper: Update/create/delete Test
    Test->>SparkConnect: Was the record created/delete/updated?
    alt cleanRegardlessTestResult
    Test->>Storage: Cleanup
    Test->>Wrapper: Cleanup
    Test->>SparkConnect: Cleanup
    end