• @[email protected]
    link
    fedilink
    English
    41 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
      link
      English
      61 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.

    • @[email protected]
      link
      fedilink
      English
      21 year ago

      Some things you also shouldn’t parameterize for the sake of overview and intuitiveness in understand.