this post was submitted on 17 Sep 2023
78 points (88.2% liked)

Technology

69491 readers
5047 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 2 years ago (2 children)

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?

[–] [email protected] 6 points 2 years 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] 2 points 2 years ago

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