[LRUG] TDD a waste of time? (was Re: [JOB] CTO and business partenership)

Mickael Riga mig at campbellhay.com
Thu May 17 05:28:13 PDT 2012


At least, a login test would not fail.
That's a start    :-)



On 17 May 2012, at 13:20, Chris Parsons wrote:

> 
> On 17 May 2012, at 12:27, Chris Parsons wrote:
> 
>>     get "/api/auth" do
>>       halt 401 unless params[:user] = 'foo' && params[:password] = 'secr3t'
>>       "OK"
>>     end
> 
> LOL: spot the deliberate mistake :D this clearly wasn't the *actual* code I wrote :)
> 
> --
> Chris Parsons
> chris.p at rsons.org
> http://twitter.com/chrismdp
> http://pa.rsons.org
> 
> 
> 
> 
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20120517/15cae042/attachment-0003.html>


More information about the Chat mailing list