Click here to Skip to main content
15,909,827 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
kmoorevs14-May-24 8:19
kmoorevs14-May-24 8:19 
GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
Jo_vb.net14-May-24 8:43
mvaJo_vb.net14-May-24 8:43 
GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
jochance14-May-24 8:39
jochance14-May-24 8:39 
GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
pkfox14-May-24 10:23
professionalpkfox14-May-24 10:23 
GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
trΓΈnderen14-May-24 15:11
trΓΈnderen14-May-24 15:11 
GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
jmaida14-May-24 17:55
jmaida14-May-24 17:55 
GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
kdmote15-May-24 3:35
kdmote15-May-24 3:35 
GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
Sander Rossel14-May-24 21:26
professionalSander Rossel14-May-24 21:26 
Maximilien wrote:
In reality, I have to do about 20 different steps to get there and go through thousands of records (SQL) to find one record that will work.
Why not edit a single record so it will work?

I'm currently doing a project where we're rewriting an old VB6 application that used to use a dBase database.
It's SQL Server now, but everything is not what you'd expect (everything is char(x), even bools, which have "Y" or "" (and sometimes "N"), except some ints, which are int or decimal(x,y)).
Lots of magical numbers and strings too.
Some fields even are like "X X " in which the first X means "option 1 should be used" (whatever option 1 is), the empty second and third position means those options are off and the fourth X means option 4 should also be used (the software only uses four options, even though it's a char(10), also it's not always X, sometimes and option can be, for example, "S" for small or "L" for large, etc.).

Anyway, finding a row you can use and writing a WHERE clause is a pain, so I just edit the top row so it'll fit my test/use case.

GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
Fly Gheorghe14-May-24 21:34
Fly Gheorghe14-May-24 21:34 
GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
Ian Brockbank15-May-24 1:27
Ian Brockbank15-May-24 1:27 
GeneralRe: Write test cases as if a 5 year old will do the tests. Pin
BryanFazekas15-May-24 1:41
BryanFazekas15-May-24 1:41 
GeneralWordle 1,060 Pin
Shane010313-May-24 18:38
Shane010313-May-24 18:38 
GeneralRe: Wordle 1,060 Pin
GKP199213-May-24 18:46
professionalGKP199213-May-24 18:46 
GeneralRe: Wordle 1,060 Pin
OriginalGriff13-May-24 20:37
mveOriginalGriff13-May-24 20:37 
GeneralRe: Wordle 1,060 - 4 4 me Pin
pkfox13-May-24 20:40
professionalpkfox13-May-24 20:40 
GeneralRe: Wordle 1,060 Pin
Amarnath S13-May-24 20:41
professionalAmarnath S13-May-24 20:41 
GeneralRe: Wordle 1,060 Pin
Sandeep Mewara13-May-24 22:08
mveSandeep Mewara13-May-24 22:08 
GeneralRe: Wordle 1,060 Pin
Sander Rossel13-May-24 22:27
professionalSander Rossel13-May-24 22:27 
GeneralRe: Wordle 1,060 Pin
ChandraRam13-May-24 22:46
ChandraRam13-May-24 22:46 
GeneralRe: Wordle 1,060 Pin
Cp-Coder14-May-24 1:57
Cp-Coder14-May-24 1:57 
GeneralRe: Wordle 1,060 Pin
StarNamer@work14-May-24 3:20
professionalStarNamer@work14-May-24 3:20 
GeneralNot to beat a dead horse, but this is important. (Screen Readers) PinPopular
Jeremy Falcon13-May-24 15:27
professionalJeremy Falcon13-May-24 15:27 
GeneralRe: Not to beat a dead horse, but this is important. (Screen Readers) Pin
raddevus13-May-24 15:48
mvaraddevus13-May-24 15:48 
GeneralRe: Not to beat a dead horse, but this is important. (Screen Readers) Pin
Jeremy Falcon13-May-24 15:55
professionalJeremy Falcon13-May-24 15:55 
GeneralRe: Not to beat a dead horse, but this is important. (Screen Readers) Pin
Jeremy Falcon13-May-24 15:58
professionalJeremy Falcon13-May-24 15:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.