One NFish wrote on news:comp.object : I'm interested in unit testing and test driven development, but I'm having trouble applying it to GUIs. It's easy to...
... Here's a unit test for WTL: #include <assert.h> void test_Dialog() { ProjectDlg aDlg("<user><name>Ignatz</name></user>"); aDlg.Create(HWND_TOP); CString...
Responding to NFish... ... I basically agree with Perkins but with a rather different spin. The GUI is /inherently/ thin if it is properly encapsulated. Any...
... ShowWindow() ... the ... Ok, and to make sure that your application generates drag events properly, you'd probably have to generate fake mouse events and...
... The industry has little experience test-first, or test-first in a GUI. All the GUI Toolkits bundle with toys that make untestable modifications very easy....
There is so much talk of 'SmallTalk' (pun intended), that i wonder why it never made it to the commercial programming domain. I am basically a COBOL programmer...
Chak
r_chakra@...
Nov 13, 2003 4:53 pm
280
... From: "Chak" <r_chakra.at.yahoo.com@...> To: "TestFirstUserInterfaces@yahoogroups.com" ...
... Not at all. I was just listening to Johnny Cash singing "I Toe the Line" in German, and it was reminding me I ought to cut a hole in my desktop and put a...
... It is /more/ than defensible. On the C3 project, I was exposed to some COBOL after a very very long time away from it. COBOL includes some very nifty...
... A UI does two kinds of things: represent domain objects to the user and provide neat UI features (drag and drop). Test the former in a way that is largely...
It ain't COBOL, but at least it demonstrates the "maybeMainloop pattern" in <300 lines, in Windows Template Library. A similar effort with raw Win32 or with...
TFUI: The production code simply raises a dialog box with a customer's address in it. Further tests could easily demonstrate changing that data and saving it ...
Hi, Phlip, ... I don't know about "business layers". But the duplication I see is SetDlgItemText(IDC_EDIT_<SOMETHING>, aCA.get("<something>")); And of course...
... annoying ... one ... which ... I don't know Struts. But where tests don't cover, bugs will go. The "separate the business logic" strategy has many other...
TFHU: Please proofread the following for accuracy & relevance. Bjarne Stroustrup invented C++ to provide the popular C language with the keywords virtual,...
... joke. Maybe I should stretch this out just a little - the joke is that's what you get for using Google to research via uncensored posts to technical ...
... ... as well as Web Testing with Ruby for more info on using Ruby to drive IE (and possibly Mozilla). http://clabs.org/wtr -- Chris http://clabs.org/blogki ...
... Mozilla! Cool! About clabs, I was honestly about to mention it next. (The original post was, of course, to an unbeliever, so I needed to not snow them too...
Hi, I'm struggling with GUI's that are filled with business logic. I'm thinking of proceeding as follows in future. The application consists primarily of fat...
... into ... I think I fixed it. I went this direction: struct field { CString m_name; UINT m_id; } fields[] = { { "first_name" , IDC_EDIT_FIRST_NAME }, {...
... This is only a requirement if there's no named controls in the form. cliec originally started to scratch an itch I had to screen-scrape my bank balances,...
... In reference to the WTR project I mentioned in the other thread -- with .NET you can publish your Windows Forms as COM objects and then do GUI testing on...
Tee Eff You Eye: 'A "script" is a set of glyphs that write a language. A "char set" is a table of integers, one for each glyph in the script. An "encoding" is...