272
you are viewing a single comment's thread
view the rest of the comments
[-] Zannsolo@lemmy.world 7 points 4 days ago

Jim Bo Bob 555-867-5309 123 test Street, Testville Ca, 55555

Is my goto

[-] Omgpwnies@lemmy.world 7 points 4 days ago

From someone who does this for a living... vary your names and addresses. Less chance of collisions if your suite teardown fails to clean up properly. Depending on your needs, having a hard-coded unique name/address per test can be fine, or if you're using Python, there's a library called Faker that will generate ISO-valid test data. It's also a bit easier to see where a teardown failed if maybe an exception got swallowed.

[-] bitfucker@programming.dev 2 points 4 days ago
this post was submitted on 17 Jun 2025
272 points (100.0% liked)

Programmer Humor

24373 readers
832 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS