... The possibility of making control members public comes to mind. Recall that modern programs are not huge, and typically come in modules with published...
<Warning> long message </Warning> ... Hi! I've done automated acceptance tests for a GUI app. The GUI is written in C++/MFC. If I've made it with such an old...
... ... Thanks Andrei. My feeling is that when it gets to the the point that you are using mock objects for GUI elements, testing is doing more harm than...
... I agree with you that using mock objects (stubs) means harder work. (I don't get the difference between mock and stub :) ) But I'm using only 2 mocks/stubs...
... Try this list of resources: http://www.c2.com/cgi/wiki?TestFirstUserInterfaces If the GUI toolkit were "just another library", you would not think to ask...
... Mocks are scaffolding. Only leave them in place where the Real Thing is too expensive, such as a satelite uplink. Replace Mocks with the Real Thing to ...
... Raw Win32 has a "MsgWaitForMultipleObjects(Ex)". Whatever you have, it has a semaphore built in. System handles have semaphores you can query out. TCP...
TFUI et al: A way-cool site on the internet, http://www.brunothebandit.com , has a bug. The caption below the comic, which should rotate synchronized with the...
Not yet, but I have tried to. My first attempt to compile CppUnit failed miserably, and I haven't yet got around to trying on the latest version. I was...
... Me neither, but I'm beginning to suspect there are several flavors of test rigs out there: - drive Internet Explorer, fetch a form, and script clicking on...
... Test-first uses Programmer Tests, which are like Unit Tests. UTs test the Unit, in relative isolation. Test first is - add a line of test, test - add a...
On the contrary, HTMLUnit turns the HTML document into XHTML using Tidy. So said Phlip on 2/10/2003 -------------------- ... <snip /> J. B. Rainsberger, ...
I was reading Kent's TDD book and came across the following code on page 176: testRectangle() { Drawing d = new Drawing(); d.addFigure(new RectangleFigure(0,...
... Yes, we have been using that here for some drawing code that we've recently been working on. I like the technique. I haven't used it with non-drawing...
... Really? I thought writing coordinate data, as in the example, is a little tedious and low level. Didn't expect people to actually do this. I think I'll...
... Logging is a sub-topic of the concept "release mode testing". "Release mode" means code compiled in a state ready to deliver. Complex apps (even including...
... and ... Thanks. Given the state of the art, it's a can of worms. After visually inspecting the test that I'm currently working on, when I close that popup...
Enter your vote today! A new poll has been created for the TestFirstUserInterfaces group: In your opinion, is Test Driven Development(test then code) more, ...
TestFirstUserInterfac...
Feb 19, 2003 2:21 am
85
Hi, I'm doing some research on Test Driven Development and would like your opinions on a couple of questions. It would be of great help to me if you could take...
Enter your vote today! A new poll has been created for the TestFirstUserInterfaces group: In your opinion, is Test Driven Development(test then code) more, ...
TestFirstUserInterfac...
Feb 19, 2003 2:31 am
87
... Dave, this list is for an overlapping topic, test-first user interfaces. Sorry about the mixup - run the poll here, for a bigger population: ...
Hi, I'm doing some research on Test Driven Development and would like your opinions on a couple of questions. It would be of great help to me if you could take...
First, the plug: http://www.c2.com/cgi/wiki?TestFirstUserInterfaces ... You have already ran the first mile. You have an app with programmatic controls to do...
Phlip
phlipcpp@...
Feb 23, 2003 12:39 am
90
David, ... Phlip already gave you lots of good ideas, so I'll just add one of my own favorite thoughts about GUI testing: Know what you're testing. For...
... You assert this again and again, and it may be true in your specific experience, but it's definitely not true in the general case. Some frameworks, such as...
... I tend to agree. Such code smells, and begins to reek. So one refactors it. But all original code, left alone, leads to spaghetti. GUIs are hard to test --...