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

Programmer Humor

25059 readers
812 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 1 month 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 1 month ago (1 children)

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

Is my goto

[–] Omgpwnies@lemmy.world 7 points 1 month 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 1 month ago

Also faker.js

[–] bricklove@midwest.social 7 points 1 month 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 2 weeks ago

Jan Smit (in Dutch)

[–] sfxrlz@lemmy.dbzer0.com 3 points 4 weeks ago

const jennyFromTheBlock

[–] 30p87@feddit.org 2 points 1 month ago

My inner urge to oop that...

[–] bier@feddit.nl 1 points 2 weeks ago* (last edited 2 weeks 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 3 weeks ago* (last edited 3 weeks ago)

const binOfStoRajj = {};

[–] rothaine@lemm.ee 1 points 1 month ago

Should be 213 area code, not 123