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. Other Discussions
  3. The Weird and The Wonderful
  4. shame to my tester or me?

shame to my tester or me?

Scheduled Pinned Locked Moved The Weird and The Wonderful
sysadminhelpquestion
45 Posts 26 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.
  • K kdgupta87

    I start a project in 2nd april, i finished it 8th april, the tester tested the project and pass 9th april and client get happy on that, suddenly in 13 april my project stop sending data, which is one of its main functionality. i was wonder why why my code works only 5 days, what happens, there is nothing changed why data was not sending now. suddenly i discovered what was the fault, because from 1st may it again start to work and i am confident it will work until 12th may, and then it will again stop :-O :-O :-O . i think u already get the hint, problem was date time format in server and client side. mm-dd-yy and dd-mm-yy , for that it will only work 1st 12 days of a month, not bad :D

    I Offline
    I Offline
    I explore code
    wrote on last edited by
    #20

    Well obviously its your fault! Testers are not there to test for programmer errors, they are there for testing whether or not the system meets the specification. And if you think you can get away with blaming the testers for your own lack of care and commitment, then you are horrendously wrong. Whenever writing date related code I always make sure I unit test for formats because the system can be used in any locale, I don't see how its the tester's fault. Its just common sense and its about sense of ownership for your work.

    K 1 Reply Last reply
    0
    • B BobJanova

      There's a lesson to learn here about using an unambiguous date format. If you have to use string date transfer at all, that is, but for passing data between applications that is often the case (e.g. if you're using web services or similar protocols). I use either 2012-05-02 or 2-May-2012, usually the former, if I'm saving or passing dates and need to be able to understand them at the other end. Your tester should have tested this, though. That's the point of having a tester.

      D Offline
      D Offline
      ddecoy
      wrote on last edited by
      #21

      the most logic date time format for me is dd-mm-YYYY.

      P 1 Reply Last reply
      0
      • C cptKoala

        And this is exactly where a lot of stuff goes wrong...

        kdgupta87 wrote:

        it was just a ...

        and

        kdgupta87 wrote:

        but as long as i can pass responsibility to tester why i care

        Take what you do seriously, and take the responsibilty for what you do. Those smily icons aside, with a mentality like yours you wouldn't last long if you were ever to work with me...

        K Offline
        K Offline
        kdgupta87
        wrote on last edited by
        #22

        certainly u are right, i should more careful and serious next time, i know for sure that this way i cant last long, i am in learning phase still now .

        C 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          I have to agree with cptKoala - take responsibility for your mistakes. If nothing else, you may want your tester on your side, rather than against you. If you blame him for your mistakes, you won't makes friends there...

          Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

          K Offline
          K Offline
          kdgupta87
          wrote on last edited by
          #23

          absolutely right, A friendly tester makes ur life easy

          1 Reply Last reply
          0
          • I I explore code

            Well obviously its your fault! Testers are not there to test for programmer errors, they are there for testing whether or not the system meets the specification. And if you think you can get away with blaming the testers for your own lack of care and commitment, then you are horrendously wrong. Whenever writing date related code I always make sure I unit test for formats because the system can be used in any locale, I don't see how its the tester's fault. Its just common sense and its about sense of ownership for your work.

            K Offline
            K Offline
            kdgupta87
            wrote on last edited by
            #24

            i agreed.

            1 Reply Last reply
            0
            • R R Erasmus

              Shame on tester if the software requirement/design requirement mentioned the format of the date. Shame on you if it didn't. If your tester doesn't have an up to date requirement specification/design document he's not to blame, but you are. It's pointless having a tester if you don't give him something to test the software against. Sure, he might find some bugs but he'll miss most.

              "Program testing can be used to show the presence of bugs, but never to show their absence." << please vote!! >>

              K Offline
              K Offline
              kdgupta87
              wrote on last edited by
              #25

              yes, its my fault, my user-case spec was weak, i will remember ur advice in future

              1 Reply Last reply
              0
              • K kdgupta87

                certainly u are right, i should more careful and serious next time, i know for sure that this way i cant last long, i am in learning phase still now .

                C Offline
                C Offline
                cptKoala
                wrote on last edited by
                #26

                As long as you keep learning, it will turn out alright ;-)

                1 Reply Last reply
                0
                • K kdgupta87

                  I start a project in 2nd april, i finished it 8th april, the tester tested the project and pass 9th april and client get happy on that, suddenly in 13 april my project stop sending data, which is one of its main functionality. i was wonder why why my code works only 5 days, what happens, there is nothing changed why data was not sending now. suddenly i discovered what was the fault, because from 1st may it again start to work and i am confident it will work until 12th may, and then it will again stop :-O :-O :-O . i think u already get the hint, problem was date time format in server and client side. mm-dd-yy and dd-mm-yy , for that it will only work 1st 12 days of a month, not bad :D

                  G Offline
                  G Offline
                  grralph1
                  wrote on last edited by
                  #27

                  I don't want to be mean, but, If I did that then I would shame me End If Testers never know what is really happening, however, they do find weird things sometimes. The best testers are the end users as they are so weird and inventive that they do things that no one would or almost could ever test for. Look at it this way, you most likely will never make this mistake again. We have all done something like this at some time. So just learn and grow. Maybe you should have started your project on the 1st of April instead of the 2nd. Then you could have blamed the tester.

                  1 Reply Last reply
                  0
                  • D ddecoy

                    the most logic date time format for me is dd-mm-YYYY.

                    P Offline
                    P Offline
                    Paulo_JCG
                    wrote on last edited by
                    #28

                    When you want to say 10001 you say "ten thousand and one" and not "one ten thousand". I think it is a mark and as such it should start with the biggest aproach and then go refine to the day as you do with hour minute second...

                    Paulo Gomes Over and Out :D

                    D 1 Reply Last reply
                    0
                    • P Paulo_JCG

                      When you want to say 10001 you say "ten thousand and one" and not "one ten thousand". I think it is a mark and as such it should start with the biggest aproach and then go refine to the day as you do with hour minute second...

                      Paulo Gomes Over and Out :D

                      D Offline
                      D Offline
                      ddecoy
                      wrote on last edited by
                      #29

                      In dutch it is different. 62 you say " sixty two" but in dutch you say "twee en zestig" = "two and sixty" we also use the metric system :D

                      G 1 Reply Last reply
                      0
                      • K kdgupta87

                        I start a project in 2nd april, i finished it 8th april, the tester tested the project and pass 9th april and client get happy on that, suddenly in 13 april my project stop sending data, which is one of its main functionality. i was wonder why why my code works only 5 days, what happens, there is nothing changed why data was not sending now. suddenly i discovered what was the fault, because from 1st may it again start to work and i am confident it will work until 12th may, and then it will again stop :-O :-O :-O . i think u already get the hint, problem was date time format in server and client side. mm-dd-yy and dd-mm-yy , for that it will only work 1st 12 days of a month, not bad :D

                        P Offline
                        P Offline
                        Paulo_JCG
                        wrote on last edited by
                        #30

                        Reminds me of why i started using parameters for Dates and Decimal values in SQL. LONG LIVE PARAMETERS :-D

                        Paulo Gomes Over and Out :D

                        1 Reply Last reply
                        0
                        • K kdgupta87

                          I start a project in 2nd april, i finished it 8th april, the tester tested the project and pass 9th april and client get happy on that, suddenly in 13 april my project stop sending data, which is one of its main functionality. i was wonder why why my code works only 5 days, what happens, there is nothing changed why data was not sending now. suddenly i discovered what was the fault, because from 1st may it again start to work and i am confident it will work until 12th may, and then it will again stop :-O :-O :-O . i think u already get the hint, problem was date time format in server and client side. mm-dd-yy and dd-mm-yy , for that it will only work 1st 12 days of a month, not bad :D

                          M Offline
                          M Offline
                          Michael Kingsford Gray
                          wrote on last edited by
                          #31

                          You.

                          1 Reply Last reply
                          0
                          • D ddecoy

                            In dutch it is different. 62 you say " sixty two" but in dutch you say "twee en zestig" = "two and sixty" we also use the metric system :D

                            G Offline
                            G Offline
                            Gary Huck
                            wrote on last edited by
                            #32

                            Oh, you're gonna discuss date preferences now?! Then what ... coding style? How about favorite colour?

                            D D 2 Replies Last reply
                            0
                            • G Gary Huck

                              Oh, you're gonna discuss date preferences now?! Then what ... coding style? How about favorite colour?

                              D Offline
                              D Offline
                              ddecoy
                              wrote on last edited by
                              #33

                              Watch out everybody the discussion police is here..

                              G 1 Reply Last reply
                              0
                              • K kdgupta87

                                I start a project in 2nd april, i finished it 8th april, the tester tested the project and pass 9th april and client get happy on that, suddenly in 13 april my project stop sending data, which is one of its main functionality. i was wonder why why my code works only 5 days, what happens, there is nothing changed why data was not sending now. suddenly i discovered what was the fault, because from 1st may it again start to work and i am confident it will work until 12th may, and then it will again stop :-O :-O :-O . i think u already get the hint, problem was date time format in server and client side. mm-dd-yy and dd-mm-yy , for that it will only work 1st 12 days of a month, not bad :D

                                E Offline
                                E Offline
                                englebart
                                wrote on last edited by
                                #34

                                Like a few others have stated. I prefer yyyy-mm-dd. Another advantage is that it sorts correctly as a string.

                                1 Reply Last reply
                                0
                                • D ddecoy

                                  Watch out everybody the discussion police is here..

                                  G Offline
                                  G Offline
                                  Gary Huck
                                  wrote on last edited by
                                  #35

                                  I was merely, sarcastically, suggesting that such things will never be agreed upon. Heck, I live in a country [US] that uses pounds and inches to measure things. We also use a format for our dates that, as far as I can tell, is not used outside the US.

                                  1 Reply Last reply
                                  0
                                  • B BobJanova

                                    Oh, that's definitely true. And it sounds like it was a relatively low tariff place to make the mistake (easy to notice, easy to find the cause and fix, not a critical system), so all's good in the end. But it is more a tester mistake than a dev mistake, in my opinion.

                                    M Offline
                                    M Offline
                                    Machaira
                                    wrote on last edited by
                                    #36

                                    Doesn't sound like it's anything the tester could have tested if it's a system date related issue. If the date was data the tester entered I agree, but that's not how I read it.

                                    I 1 Reply Last reply
                                    0
                                    • M Machaira

                                      Doesn't sound like it's anything the tester could have tested if it's a system date related issue. If the date was data the tester entered I agree, but that's not how I read it.

                                      I Offline
                                      I Offline
                                      Isfeasachme
                                      wrote on last edited by
                                      #37

                                      I agree. Testers cannot test -everything- ... That is like expecting a coder to produce bug free code. In my experience, testers test functions against spec, and then test data/input (boundary conditions, extremes, absence, ridiculous) and call it a day. Unfortunately, this low hanging fruit approach leaves sneaky, subtle bugs like this undetected.

                                      1 Reply Last reply
                                      0
                                      • K kdgupta87

                                        I start a project in 2nd april, i finished it 8th april, the tester tested the project and pass 9th april and client get happy on that, suddenly in 13 april my project stop sending data, which is one of its main functionality. i was wonder why why my code works only 5 days, what happens, there is nothing changed why data was not sending now. suddenly i discovered what was the fault, because from 1st may it again start to work and i am confident it will work until 12th may, and then it will again stop :-O :-O :-O . i think u already get the hint, problem was date time format in server and client side. mm-dd-yy and dd-mm-yy , for that it will only work 1st 12 days of a month, not bad :D

                                        A Offline
                                        A Offline
                                        Anna Jayne Metcalfe
                                        wrote on last edited by
                                        #38

                                        That sounds like exactly the sort of bug which would be preempted by a good set of unit tests. Test Driven Development takes some time to get used to doing, but it definitely works.

                                        Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                        1 Reply Last reply
                                        0
                                        • K kdgupta87

                                          why all over the world, everyone not following the same date time format, they should think about poor programmers like me :confused:

                                          M Offline
                                          M Offline
                                          Member_5893260
                                          wrote on last edited by
                                          #39

                                          No - see - it's actually done to give us a boost in morale by allowing us to feel superior!!

                                          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