• realharo@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    once you start with a pattern they are mostly repetitive with minor changes

    Can’t you just turn those into a single parameterized test with the test cases described as data?

    • kameecoding@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      I mean of course if there is only a given set of variables that changes test-to-test then I do that.

      But I meant tests, that are really similar, but the variable that changes or combination of changes is varied enough that you can’t parametrize it.