... How often do you go thru the procedure "compile the actual app, run it, drive it to that dialog, and look at the dialog"? If you spent a little time...
... All this is easily said, but in my experience it is not easily done. In .NET, for example, I haven't found writeups on how to do it, and I am fairly sure...
... loop ... you'd ... there; ... lines. Under VB6, it is 'frm.Show vbModal' However, at Close time, the frm object unloads. So you can't put that line into...
... app? ... loop ... function ... there; ... Actually, in Carbon (or MFC for that matter) it's easy enough to display the dialog non-modally in a test....
... During ordinary test flow I would prefer the window not even flash. It should exist as an object in the GUI Toolkit's memory, briefly, then go away. ... We...
... display ... buys ... that ... I agree. ... I ... usually ... before ... I think I see what you mean. You are test-first inspecting the visual appearance...
... The anti-pattern is "Guru Checks Output". We're just approaching "Idiot Checks Output". Did any button turn upside down? Does the text overlap? Do the...
... upside ... I often automate these (after I visually inspect them). I assert control positions, sizes, text, enabled or disabled, etc. Tony To unsubscribe,...
... That leads into the topic of hyperactive assertions again. Consider: - localize to English - assert button sizes - localize to Chinese - visually inspect -...
... broke; ... go ... stop. ... default ... I agree fully. I don't test every little thing in the GUI. However, there are situations where it can be useful to...
I for one am finding the crossposting between the two lists to be a bit annoying - I'm not blaming you Tony, it's been the common practice. I generally reply...
Ron, ... I think Phlip may not really mean "write a non-modal message loop" although he can probably say what he means better than I can. :-) Writing a message...
... Yeah, let's! Ron Jeffries www.XProgramming.com Questioner: How do I sell my executive team on doing this stuff? Jim Highsmith: Don't. Just do it. They...
... at ... I ... which ... When you learn to test a new library, you cannot estimate narrowly. You don't know what you don't know. For a GUI, you must learn...
... UB used the technique for a few threads on news:comp.object, but the XP list took off nearly instantly. But the people with questions don't know to look ...
The Principles The following quote by Dee Hock bears repeating: "Simple, clear purpose and principles give rise to complex and intelligent behavior. Complex...
Nancy at Work this is much shorter than Sluggo at Work ;-) Nancy began her career in technical writing. The available programmer role models hacked all night,...
I can't help asking, given the Dee Hock quote at the top of this message...is this stated goal really simple enough? The TODO at the bottom of the quoted...
... Huh? Those are typesetting reminders. ... They aren't implementation details; they are directives. They cause the details. ... The issue is the rule set is...
... Sorry, wasn't verbose enough. The fact that the TODO was discussing the length of the stated goal as something to pay attention to was what I thought was...
... The Principles generate programmer behaviors. Our project must have test fixtures supporting each of these activities. Non-GUI projects have the same ...
... I really like this description of Open Closed Principle, and how to change code to approach it. Does it read better after replacing re-use by use? Eg: use...
... Okay, try this: TODO insert tolerance here as boxed text. abs(Subject - Reference) < abs(Subject) / 100 (Assuming we all understand abs()) is that...
... Somewhere in there, you might want to mention what "/ 100" is supposed to do. ... There are bugs being tolerated? I'm shocked, I tell you! Shocked! :-) By...
Edmund Schweppe
schweppe@...
Aug 23, 2003 11:06 pm
222
... Take the arctangent as an angle approaches high noon. Variations between your test reference data and the subject data are not bugs, they are imperceptible...
In message <3F47F2BC.2040002@...>, ... Maybe the intent would be clearer if expressed as abs( (Subject - Reference) / Subject ) < 0.01; Although I would...
Hi All This is the my first post to the list. We program using Visual Basic. I am trying to convince my people to use vbunit for unit testing purpose in our...