Skip to content

Why is the EvaluateIntegrationTest talking with the real production API? #34

Closed
@ruudk

Description

@ruudk

This seems a bit odd to me, that the EvaluateIntegrationTest contacts https://api.lab.amplitude.com.

It tests configured feature flags that I cannot control, and thus I cannot verify the test at all.

Why not use a HTTP mock client that returns the JSON that the server would return?

In my opinion, tests should not contact the internet.

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