... Yes, there are actually quite a few people who do extensive TDD on Mac OS X using Cocoa and Xcode — it turns out that it's actually a great platform for...
This month at Extreme Programming San Diego (XPSD), Dan and Llewellyn will teach us how to write Approval Tests. The meeting will take place at Cardinal Health...
This month at Extreme Programming San Diego (XPSD), Dan and Llewellyn will teach us how to write Approval Tests. The meeting will take place at Cardinal Health...
... How many tests do you have that treat UI objects as objects? I mean unit-level tests that just assemble some GUI controls, activate the production code to ...
... To unit test Ajax, you must generally test that your business model has injected the correct data into the correct entry points in your Ajax library. Don't...
if you commented out this line (and any other line that squawks)... ... and printed out the mail's parts before asserting them... ... p mail.parts ...what...
... If you are using an off-the-shelf control, such as an edit field, you can TDD it by building its form, running production code to push data into it, then ...
... If you look up an MVC diagram, the Model only has inbound arrows. Or the equivalent. To TDD the Model you simply ignore the controllers and views, because...
Netizens: Crispin & Gregory's new book, /Agile Testing: A Practical Guide for Testers and Agile Teams/, has a kewt "mind map" at the start of each chapter. It...
I like the concept Phlip, and it's impressive you can achieve that much with so little code. It also looks like a very useful way of presenting a collection...
... It begins with M, making the title alliterative. I myself quarrel with the use of "Merb" in the title. There's almost no Merb in the content, and I only...
... So if you called it "Merb mind map" for alliteration, but Merb, mind, and map are all misused words.... :-) ... I just want to know if the problem is...
... Good idea! [reads] Okay, done. So you're building a minimum spanning tree of articles, using tag-difference as the metric, and setting the current article...
Alan, ... I think the original Buzan meaning wasn´t so limited as this. Basically, it´s a 2-D representation of something in your mind. So, it can be a...
... Boom: http://gist.github.com/76136 it 'should have a form with a fieldset' do render '/users/new' response.body.should be_html_with{ form :action =>...
extremists: HTML is easy to test and hard to test well. A unit test must intercept and parse it, hopefully _before_ it goes thru a web server. I just wrote an...
... Try writing the equivalent of my assertion with it. I suspect you can't, because it can't constrain the element order. And the rest would be extremely...
... Tests also help you go faster, not just detect faults. Consider this example: <div style='color: red'> <div style='background-color: green'> To assert that...
... I have to confess a low rate of adoption for my assert_xpath project, to unit-test raw HTML. As a computer scientist and a DSL-zealot, I _like_ writing ...
... Here is a bit of hemming and hawing, while I work on projects other than assert_xhtml and assert_rjs_ (as seen at http://c2.com/cgi/wiki?AssertXhtml ) TDD...
... Will ASP allow you to cook a web page without sending it over the wire? If you Mock The Server, you can then test - even TDD - by writing assertions that...
... Unit testing the presentation layer should treat the test targets the same as any other layer would test them. In web programming, a web page is a big...
Re: Can ASP render a page back as a string. Absolutely! Its call Response.Write, just pipe it out to whatever channel you like :) Regards, Miguel de Sousa ...
... Could anyone here who's familiar with both ASP's Response.Write, and with Rails's ActionController::TestCase's get() method, write a little pseudocode here...
... To add a new feature, you should generally add it at the business layer first. The goal will be that anything a user can do to the View, a unit test can...
... Here's a metaphor - the Golden Spike at Promontory Point, Utah, where the Union Pacific and Central Pacific railways met for our first intercontinental...