Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. My favorite part of the job

My favorite part of the job

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
12 Posts 11 Posters 15 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • cm0002@lemmy.worldC This user is from outside of this forum
    cm0002@lemmy.worldC This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1
    This post did not contain any content.
    30p87@feddit.org3 E B R Z 8 Replies Last reply
    258
    • cm0002@lemmy.worldC [email protected]
      This post did not contain any content.
      30p87@feddit.org3 This user is from outside of this forum
      30p87@feddit.org3 This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      My inner urge to oop that...

      1 Reply Last reply
      2
      • cm0002@lemmy.worldC [email protected]
        This post did not contain any content.
        E This user is from outside of this forum
        E This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        23
        • cm0002@lemmy.worldC [email protected]
          This post did not contain any content.
          B This user is from outside of this forum
          B This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          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.

          B 1 Reply Last reply
          6
          • cm0002@lemmy.worldC [email protected]
            This post did not contain any content.
            R This user is from outside of this forum
            R This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            Should be 213 area code, not 123

            1 Reply Last reply
            0
            • cm0002@lemmy.worldC [email protected]
              This post did not contain any content.
              Z This user is from outside of this forum
              Z This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

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

              Is my goto

              O 1 Reply Last reply
              6
              • Z [email protected]

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

                Is my goto

                O This user is from outside of this forum
                O This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                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.

                B 1 Reply Last reply
                5
                • O [email protected]

                  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.

                  B This user is from outside of this forum
                  B This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  Also faker.js

                  1 Reply Last reply
                  1
                  • cm0002@lemmy.worldC [email protected]
                    This post did not contain any content.
                    S This user is from outside of this forum
                    S This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #9

                    const jennyFromTheBlock

                    1 Reply Last reply
                    2
                    • cm0002@lemmy.worldC [email protected]
                      This post did not contain any content.
                      R This user is from outside of this forum
                      R This user is from outside of this forum
                      [email protected]
                      wrote on last edited by [email protected]
                      #10

                      const binOfStoRajj = {};

                      1 Reply Last reply
                      0
                      • B [email protected]

                        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.

                        B This user is from outside of this forum
                        B This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #11

                        Jan Smit (in Dutch)

                        1 Reply Last reply
                        0
                        • cm0002@lemmy.worldC [email protected]
                          This post did not contain any content.
                          B This user is from outside of this forum
                          B This user is from outside of this forum
                          [email protected]
                          wrote on last edited by [email protected]
                          #12

                          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.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups