Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Database testing. The ferret and the rabbit Expand / Collapse
Author
Message
Posted Saturday, May 28, 2011 6:40 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, September 19, 2014 5:28 AM
Points: 587, Visits: 2,532
Comments posted to this topic are about the item Database testing. The ferret and the rabbit


Best wishes,

Phil Factor
Simple Talk
Post #1116701
Posted Tuesday, May 31, 2011 8:03 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Today @ 7:36 AM
Points: 158, Visits: 1,806
I've worked with someone who takes out a calculator. He uses it to approach the data from a different angle. It often works.
Post #1117426
Posted Tuesday, May 31, 2011 10:12 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Today @ 12:16 PM
Points: 870, Visits: 2,401
Personally, I'd say you should always check important calculations in some "by hand" way; just because you think you programmed the software right, doesn't mean the results come out.

Special rounding and age calculation rules are common (leap day); implicit conversions can be problematic... and who else remembers the Pentium floating point bug?

The ability to deliberately try to break the system in every reasonable way... over and over and over again... is invaluable in a tester.
Post #1117544
Posted Tuesday, May 31, 2011 1:05 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, February 29, 2012 6:22 AM
Points: 58, Visits: 76
I'll agree with it being difficult (impossible for me) for a developer to test their own code. Having a tester that revels in finding a way to bring your code screeching to a halt is what produces great applications.
Post #1117697
Posted Thursday, June 2, 2011 11:57 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, September 19, 2013 2:00 PM
Points: 183, Visits: 479
Part of every calculation code deliverable should be another program that independently calculates key subtotals and totals.
The second program can be a set of sql scripts with instructions to fill in the parameters as you go, but they should exist. They should be built at the same time.

If the two programs do not agree, it's certain that the calculation in one of them is wrong. Reconciling the differences leads to additional assurance that the main program is working correctly.

If data is being transformed from one system into another as part of the calculation, the mechanism for doing so should include an audit data structure such that one can easily write a query that shows exactly which source records were included in exactly which destination subtotals. This is invaluable for quickly identifying lost or double-counted records. When built into the initial design, it's actually faster to build the main program and the double-check program than it is to build a main program by itself - that is - if the main program is expected to work perfectly.

Post #1118945
Posted Thursday, June 2, 2011 12:27 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Today @ 8:13 PM
Points: 17,628, Visits: 15,486
I think it is crucial to better applications to have dedicated testers working with the developers to find their bugs. Both working together will produce a much better application.



Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1118971
Posted Tuesday, June 7, 2011 12:18 PM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Monday, January 6, 2014 3:26 PM
Points: 447, Visits: 425
I originally went to college for a technical communications degree, and IT was my fallback. I still consider writing to be my primary vocation, but IT has turned out to be where the money is.

Anyway, one of the main things I learned from my writing classes is that when it comes to editing, Rule #1 is "Love is far-sighted." That means that if you really want to make sure that what you've written is good, you need to either have someone else take a look at it or distance yourself from it by setting it aside for a day or two and then checking it yourself.

Rule #2 is that writing and editing are not identical skill sets (although they do have much in common). Someone who's a good writer might not necessarily be a good editor, and vice versa.

Phil's post shows that the same two principles hold true in the IT realm, particularly where programming and testing are concerned. I just thought it was cool that his message ties in so nicely with writing and editing. Neat post!
Post #1121270
Posted Tuesday, June 7, 2011 2:52 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, September 19, 2014 5:28 AM
Points: 587, Visits: 2,532
Oh, yes, there is a lot in common with writing literature and software, and the editing and testing processes are likewise entwined. The one cannot work without the other, and they must have a mutual respect. All the famous authors I can think of relied on having a brilliant editor.


Best wishes,

Phil Factor
Simple Talk
Post #1121402
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse