this post was submitted on 17 Jun 2025
284 points (99.0% liked)

Programmer Humor

31487 readers
1046 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
 
top 11 comments
sorted by: hot top controversial new old
[–] EveningPancakes@lemmy.dbzer0.com 25 points 11 months ago

Life Pro Tip - Jenny's number also (usually) works at the grocery checkout line to get the advertised store member discount on items. Choose whichever area code you like, someone has likely set it up in the past.

[–] Zannsolo@lemmy.world 8 points 11 months ago (1 children)

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

Is my goto

[–] Omgpwnies@lemmy.world 7 points 11 months ago (1 children)

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 11 months ago

Also faker.js

[–] bricklove@midwest.social 7 points 11 months ago (1 children)

I once made test users who were all named John Smith in different languages. I learned that basically every name is a variant of John.

[–] bier@feddit.nl 1 points 10 months ago

Jan Smit (in Dutch)

[–] sfxrlz@lemmy.dbzer0.com 3 points 11 months ago

const jennyFromTheBlock

[–] 30p87@feddit.org 2 points 11 months ago

My inner urge to oop that...

[–] bier@feddit.nl 1 points 10 months ago* (last edited 10 months ago)

For test data I like to use different movie or comic book names for different epics.

So when we start a new epic with multiple user stories I decide this will be all star wars, or matrix or donald duck characters, etc etc. The nice thing about it is when certain test data gives unexpected errors in other parts of application its easy to track where the test data is from.

[–] Randelung@lemmy.world 1 points 11 months ago* (last edited 11 months ago)

const binOfStoRajj = {};

[–] rothaine@lemm.ee 1 points 11 months ago

Should be 213 area code, not 123