• Mirror Giraffe@piefed.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 hours ago

    Imo each test tests a specific functionality which requires a fixture set up for that. Its important that these figures mirror exactly how it would look in production or the tests are pointless.

    For example customer A uses product A in a specific way it’s important that we enter customerA.settings and productA.props into the test and only test the specifics in said transaction.