|
IMO it's a beginner programmer's mistake - anybody who has ever done a web app has learnt this lesson the same way. It isn't often that testers find this type of error - usually programmers, or whatever library or framework they use take care of this.
|
|
|
|
|
the most logic date time format for me is dd-mm-YYYY.
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
Oh, you're gonna discuss date preferences now?! Then what ... coding style? How about favorite colour?
|
|
|
|
|
Watch out everybody the discussion police is here..
|
|
|
|
|
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.
|
|
|
|
|
Maybe we can throw in a favorite editor discussion, and for bonus points debate newline characters!
|
|
|
|
|
Shame on your tester for not testing the code on the dates when it would fail.
Seriously, as others have said, this is something that both of you will never forget to check.
Just because the code works, it doesn't mean that it is good code.
|
|
|
|
|
It also sounds like your app is running in "real time", but likely when developed and tested, it did not have a "real time" environment to work with. This is usually addressed with some form of a declared test operation in the "real time" environment. These can often last weeks and even months, before all issues are uncovered.
Chris Meech
I am Canadian. [heard in a local bar]
In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]
|
|
|
|
|
Reminds me of some work I did during the Y2K fiasco. I spent months working on some really old code to make it Y2K compliant. Then on January 1, 2000, everything ran smoothly! -- not a single problem. I practically broke my arm patting myself on the back. A couple of months later on February 29, 2000, everything crashed. You see, the year 2000 was a leap year, but the year 1900 was not. My conversion of 1900 dates to 2000 dates did not take that into account. Epic fail. Fortunately, I had already collected my contract fees.
-NP
Never underestimate the creativity of the end-user.
|
|
|
|
|
Ooh, painful.
Did you feel guilty enough to fix it for them even though your contract was over?
|
|
|
|
|
Well, it kinda fixed itself...about midnight on that day as I recall.
I must not have made too bad of impression as I eventually received another contract to upgrade all of their software to use C# front-ends and SQL server back-ends, so the whole date thing was never an issue after that day.
-NP
Never underestimate the creativity of the end-user.
|
|
|
|
|
Both.
It isn't exactly hidden that people use different formats across the world - even some Americans are aware of it. It's not exactly difficult to work with different formats these days either.
And are you saying that it took less that twelve days to develop the software? Or that you didn't test your own code at all for three weeks of each month?
It's a rookie mistake, for both developer and the tester - it doesn't bode well for the long term reliabilty of the software from where I'm sitting.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
it was just a plugin in existing software.
And yes its a very silly mistake by me(hope my boss will not see tht), but as long as i can pass responsibility to tester why i care
|
|
|
|
|
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...
|
|
|
|
|
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
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 .
|
|
|
|
|
As long as you keep learning, it will turn out alright
|
|
|
|
|
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
|
|
|
|
|
absolutely right, A friendly tester makes ur life easy
|
|
|
|
|
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!! >>
|
|
|
|
|
yes, its my fault, my user-case spec was weak, i will remember ur advice in future
|
|
|
|
|
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.
|
|
|
|
|