Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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
Code Project
  1. Home
  2. The Lounge
  3. Test data?

Test data?

Scheduled Pinned Locked Moved The Lounge
csharpjavascriptdatabasesql-serverlinq
50 Posts 29 Posters 0 Views 1 Watching
  • 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.
  • S snorkie

    I did this early in my career. But remember not to take it too far. When I used an image of Darth Vader for the CEO and he saw it, we had to revert back to boring test data... The whole IT department got reprimanded once it was found.

    Hogan

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #5

    snorkie wrote:

    When I used an image of Darth Vader for the CEO and he saw it

    Surely you're considered a living legend by the proles? ;)

    snorkie wrote:

    The whole IT department got reprimanded once it was found.

    Worth it!

    In this present crisis, government is not the solution to our problem; government is the problem. ~ Ronald Reagan

    1 Reply Last reply
    0
    • L Lost User

      Sander Rossel wrote:

      Do you make test data fun?

      ..I have learned to first check what the test-data is being used for. If it can end up in a presentation to the customer or the boss, some jokes can be, ehrm.. unprofessional. But yes, there's often a Bacon Ipsum in each multiline textfield. When creating test-data, I use a fantasized company that insures broom-sticks (complete with logo's ofcourse). The added bonus of reserving for Narnia or Mordor is that when an order actually accidentally makes it to production, it is (hopefully!) easily recognizeale as nonsense-data. So yes, next to humor it is also defendable as being usefull.

      Sander Rossel wrote:

      I know some people, especially customers, need test data to be "the real thing".

      How 'real' is data? And what data is involved? Do take into account that it may have some privacy-implications if you are going to use a copy of 'real data', like that it may need to be anonymized. Remember, security starts with paranoia :)

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

      Sander RosselS Offline
      Sander RosselS Offline
      Sander Rossel
      wrote on last edited by
      #6

      Eddy Vluggen wrote:

      The added bonus of reserving for Narnia or Mordor is that when an order actually accidentally makes it to production, it is (hopefully!) easily recognizeale as nonsense-data

      Or a lawsuit for lots of spilled fuel! :laugh:

      Eddy Vluggen wrote:

      How 'real' is data?

      I used to work for meat processing companies (yes, as a vegetarian, I know...) so they had a product, like tenderloin, that I would use for testing. So whenever the customer tried to explain what he wanted and we looked at some test data together he would laugh at me for putting a tenderloin in an order by some French customer that never orders tenderloin and then having it shipped by some Russian transporter (while the customer was in France). I really don't care what customer I ship too, or what transporter delivers the goods, none of that mattered for the test, but he just couldn't work like that. So yeah, he'd recreate nearly every test case we had so it fit a real world scenario, whether it was important for the test or not.

      Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

      L B 2 Replies Last reply
      0
      • Sander RosselS Sander Rossel

        Eddy Vluggen wrote:

        The added bonus of reserving for Narnia or Mordor is that when an order actually accidentally makes it to production, it is (hopefully!) easily recognizeale as nonsense-data

        Or a lawsuit for lots of spilled fuel! :laugh:

        Eddy Vluggen wrote:

        How 'real' is data?

        I used to work for meat processing companies (yes, as a vegetarian, I know...) so they had a product, like tenderloin, that I would use for testing. So whenever the customer tried to explain what he wanted and we looked at some test data together he would laugh at me for putting a tenderloin in an order by some French customer that never orders tenderloin and then having it shipped by some Russian transporter (while the customer was in France). I really don't care what customer I ship too, or what transporter delivers the goods, none of that mattered for the test, but he just couldn't work like that. So yeah, he'd recreate nearly every test case we had so it fit a real world scenario, whether it was important for the test or not.

        Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #7

        Sander Rossel wrote:

        So whenever the customer tried to explain what he wanted

        Hehe, made me think of this[^] site, but be warned, it can be a time-waster :D

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

        1 Reply Last reply
        0
        • Sander RosselS Sander Rossel

          Do you make test data fun? I'm currently working on a car reservation system. I've reserved cars to Mordor, Isengard, Hogwarts, Mos Eisley Cantina and Narnia. It's all fun and games until something accidentally lands on a production environment (like my Hot Spicy Steak, product code 666, delivered to Sanderville a few years ago). I know some people, especially customers, need test data to be "the real thing".

          Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu PeterK Offline
          Kornfeld Eliyahu Peter
          wrote on last edited by
          #8

          My test data is somewhat dry and flat, but my bugs are of the best quality... there are tears...

          Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

          Sander RosselS 1 Reply Last reply
          0
          • Sander RosselS Sander Rossel

            Do you make test data fun? I'm currently working on a car reservation system. I've reserved cars to Mordor, Isengard, Hogwarts, Mos Eisley Cantina and Narnia. It's all fun and games until something accidentally lands on a production environment (like my Hot Spicy Steak, product code 666, delivered to Sanderville a few years ago). I know some people, especially customers, need test data to be "the real thing".

            Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #9

            Not only test data. Years ago I worked for a company that archived documents. The documents were archived on CDs by robots, along with a viewer to view them when needed. I had to add two menu items, one to activate the toolbar and one to make it disappear. Instead of naming them 'Toolbar ein' and 'Toolbar aus', I named them 'Einbartool' and 'Ausbartool', just for fun. Then we got the news that the UN wanted to use the archiving system and they quickly needed the viewer translated to French. They literally ripped it out of my hands as soon a I had written my last line of code and sent it to a translator. A day later we got a mail with the question: "Qu'est ce que un 'Einbartool'?

            The language is JavaScript. that of Mordor, which I will not utter here
            This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
            "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

            Sander RosselS 1 Reply Last reply
            0
            • Sander RosselS Sander Rossel

              Do you make test data fun? I'm currently working on a car reservation system. I've reserved cars to Mordor, Isengard, Hogwarts, Mos Eisley Cantina and Narnia. It's all fun and games until something accidentally lands on a production environment (like my Hot Spicy Steak, product code 666, delivered to Sanderville a few years ago). I know some people, especially customers, need test data to be "the real thing".

              Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

              J Offline
              J Offline
              Jeremy Falcon
              wrote on last edited by
              #10

              Depends on the project, some I do and some I don't. Typically, for the projects I pull from production to dev/test frequently I don't. But if I'm in the early phases of a project that hasn't seen the light of day yet, I'm more inclined to do so. Also, depends on my mood... and planetary alignment.

              Jeremy Falcon

              1 Reply Last reply
              0
              • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                My test data is somewhat dry and flat, but my bugs are of the best quality... there are tears...

                Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                Sander RosselS Offline
                Sander RosselS Offline
                Sander Rossel
                wrote on last edited by
                #11

                Kornfeld Eliyahu Peter wrote:

                but my bugs are of the best quality

                Somehow I read "drugs" instead of "bugs"... :~

                Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                R 1 Reply Last reply
                0
                • L Lost User

                  Not only test data. Years ago I worked for a company that archived documents. The documents were archived on CDs by robots, along with a viewer to view them when needed. I had to add two menu items, one to activate the toolbar and one to make it disappear. Instead of naming them 'Toolbar ein' and 'Toolbar aus', I named them 'Einbartool' and 'Ausbartool', just for fun. Then we got the news that the UN wanted to use the archiving system and they quickly needed the viewer translated to French. They literally ripped it out of my hands as soon a I had written my last line of code and sent it to a translator. A day later we got a mail with the question: "Qu'est ce que un 'Einbartool'?

                  The language is JavaScript. that of Mordor, which I will not utter here
                  This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                  "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                  Sander RosselS Offline
                  Sander RosselS Offline
                  Sander Rossel
                  wrote on last edited by
                  #12

                  That's awesome! :laugh: :thumbsup: I was particularly bad at French in high school, the language of Mordor... :sigh:

                  Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                  1 Reply Last reply
                  0
                  • Sander RosselS Sander Rossel

                    Do you make test data fun? I'm currently working on a car reservation system. I've reserved cars to Mordor, Isengard, Hogwarts, Mos Eisley Cantina and Narnia. It's all fun and games until something accidentally lands on a production environment (like my Hot Spicy Steak, product code 666, delivered to Sanderville a few years ago). I know some people, especially customers, need test data to be "the real thing".

                    Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                    D Offline
                    D Offline
                    dandy72
                    wrote on last edited by
                    #13

                    "Test"...data?

                    Sander RosselS 1 Reply Last reply
                    0
                    • D dandy72

                      "Test"...data?

                      Sander RosselS Offline
                      Sander RosselS Offline
                      Sander Rossel
                      wrote on last edited by
                      #14

                      You know, the data that's on production (where developers test) :D

                      Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                      D 1 Reply Last reply
                      0
                      • Sander RosselS Sander Rossel

                        Kornfeld Eliyahu Peter wrote:

                        but my bugs are of the best quality

                        Somehow I read "drugs" instead of "bugs"... :~

                        Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                        R Offline
                        R Offline
                        Rajesh R Subramanian
                        wrote on last edited by
                        #15

                        Sander Rossel wrote:

                        Kornfeld Eliyahu Peter wrote:

                        but my bugs are of the best quality

                        Somehow I read "drugs" instead of "bugs"..

                        No you didn't, but Kornfeld just edited his post real quick. And as far as quality goes, I can assure you the man stocks some pretty classy stuff. :-\

                        1 Reply Last reply
                        0
                        • Sander RosselS Sander Rossel

                          You know, the data that's on production (where developers test) :D

                          Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                          D Offline
                          D Offline
                          dandy72
                          wrote on last edited by
                          #16

                          Oh, the data submitted by the users...

                          1 Reply Last reply
                          0
                          • Sander RosselS Sander Rossel

                            Do you make test data fun? I'm currently working on a car reservation system. I've reserved cars to Mordor, Isengard, Hogwarts, Mos Eisley Cantina and Narnia. It's all fun and games until something accidentally lands on a production environment (like my Hot Spicy Steak, product code 666, delivered to Sanderville a few years ago). I know some people, especially customers, need test data to be "the real thing".

                            Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                            M Offline
                            M Offline
                            Mycroft Holmes
                            wrote on last edited by
                            #17

                            We recently demonstrated a system to the manager of the primary user having put in test data where we labelled a module "Finance Management". This was a label on a view and we said straight away we could change it to anything he liked. Said manager spent the next 30 minutes explaining why the label was invalid. He later wrote it up as a problem with the application. Morale of the story, make you test data nonsense, not something close to reality, even a manager can't focus on nonsense for too long.

                            Never underestimate the power of human stupidity RAH

                            P Sander RosselS 2 Replies Last reply
                            0
                            • M Mycroft Holmes

                              We recently demonstrated a system to the manager of the primary user having put in test data where we labelled a module "Finance Management". This was a label on a view and we said straight away we could change it to anything he liked. Said manager spent the next 30 minutes explaining why the label was invalid. He later wrote it up as a problem with the application. Morale of the story, make you test data nonsense, not something close to reality, even a manager can't focus on nonsense for too long.

                              Never underestimate the power of human stupidity RAH

                              P Offline
                              P Offline
                              Peter_in_2780
                              wrote on last edited by
                              #18

                              Mycroft Holmes wrote:

                              even a manager can't focus on nonsense for too long.

                              OH! How I wish that were true! Cheers, Peter

                              Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

                              1 Reply Last reply
                              0
                              • Sander RosselS Sander Rossel

                                Do you make test data fun? I'm currently working on a car reservation system. I've reserved cars to Mordor, Isengard, Hogwarts, Mos Eisley Cantina and Narnia. It's all fun and games until something accidentally lands on a production environment (like my Hot Spicy Steak, product code 666, delivered to Sanderville a few years ago). I know some people, especially customers, need test data to be "the real thing".

                                Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                                D Offline
                                D Offline
                                dan sh
                                wrote on last edited by
                                #19

                                Mostly not. But recently I found test data for an application I was working on to mention occupation as terrorist. Don't know who created that but we were scared to deny anything to that particular user.

                                "It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[^]

                                1 Reply Last reply
                                0
                                • S snorkie

                                  I did this early in my career. But remember not to take it too far. When I used an image of Darth Vader for the CEO and he saw it, we had to revert back to boring test data... The whole IT department got reprimanded once it was found.

                                  Hogan

                                  J Offline
                                  J Offline
                                  Jon McKee
                                  wrote on last edited by
                                  #20

                                  That's hilarious. If I was the CEO I'd have a good chuckle and go about my business (literally). Shame he didn't have a sense of humor :|

                                  C 1 Reply Last reply
                                  0
                                  • Sander RosselS Sander Rossel

                                    Eddy Vluggen wrote:

                                    The added bonus of reserving for Narnia or Mordor is that when an order actually accidentally makes it to production, it is (hopefully!) easily recognizeale as nonsense-data

                                    Or a lawsuit for lots of spilled fuel! :laugh:

                                    Eddy Vluggen wrote:

                                    How 'real' is data?

                                    I used to work for meat processing companies (yes, as a vegetarian, I know...) so they had a product, like tenderloin, that I would use for testing. So whenever the customer tried to explain what he wanted and we looked at some test data together he would laugh at me for putting a tenderloin in an order by some French customer that never orders tenderloin and then having it shipped by some Russian transporter (while the customer was in France). I really don't care what customer I ship too, or what transporter delivers the goods, none of that mattered for the test, but he just couldn't work like that. So yeah, he'd recreate nearly every test case we had so it fit a real world scenario, whether it was important for the test or not.

                                    Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                                    B Offline
                                    B Offline
                                    Brady Kelly
                                    wrote on last edited by
                                    #21

                                    The best test data would probably include a large set of historical data. If your app doesn't cater for historical data, make it, and avoid all the guesswork on what to initially test with.

                                    Follow my adventures with .NET Core at my new blog, Erisia Information Services.

                                    1 Reply Last reply
                                    0
                                    • S snorkie

                                      I did this early in my career. But remember not to take it too far. When I used an image of Darth Vader for the CEO and he saw it, we had to revert back to boring test data... The whole IT department got reprimanded once it was found.

                                      Hogan

                                      J Offline
                                      J Offline
                                      Jorgen Andersson
                                      wrote on last edited by
                                      #22

                                      No humour. My boss would demand the full size original of the picture.

                                      Wrong is evil and must be defeated. - Jeff Ello

                                      1 Reply Last reply
                                      0
                                      • Sander RosselS Sander Rossel

                                        Do you make test data fun? I'm currently working on a car reservation system. I've reserved cars to Mordor, Isengard, Hogwarts, Mos Eisley Cantina and Narnia. It's all fun and games until something accidentally lands on a production environment (like my Hot Spicy Steak, product code 666, delivered to Sanderville a few years ago). I know some people, especially customers, need test data to be "the real thing".

                                        Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                                        J Offline
                                        J Offline
                                        Jorgen Andersson
                                        wrote on last edited by
                                        #23

                                        Generally I use a copy of the real data to make the testing more faithful. But if I don't have real data and create a mockup, it has to be obvious that the test data is fake so I don't forget to exchange it for real data later, so yes hilarious it is. Or bacon ipsum[^] if I'm lazy.

                                        Wrong is evil and must be defeated. - Jeff Ello

                                        Graeme_GrantG 1 Reply Last reply
                                        0
                                        • Sander RosselS Sander Rossel

                                          Do you make test data fun? I'm currently working on a car reservation system. I've reserved cars to Mordor, Isengard, Hogwarts, Mos Eisley Cantina and Narnia. It's all fun and games until something accidentally lands on a production environment (like my Hot Spicy Steak, product code 666, delivered to Sanderville a few years ago). I know some people, especially customers, need test data to be "the real thing".

                                          Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                                          V Offline
                                          V Offline
                                          V 0
                                          wrote on last edited by
                                          #24

                                          I think we can, and in fact should, however never take it too far indeed. Same for commenting code. If it does come in production, always remember, someone signed of for going live at some point. As long as that person is not you, don't sweat it ;P

                                          V.

                                          (MQOTD rules and previous solutions)

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


                                          • Login

                                          • Don't have an account? Register

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