News for hackers. Stuff that matters.
Re:Testing Backbone.js Best Practices by socratic on Thursday January 26, 2012 @05:00PM (#3516183)
How do people actually test multiple client-side browsers?

In terms of testing, Jasmine and QUnit both seem to have reasonable APIs, and I'd be totally happy to use either. I'm sure there are other reasonable options, too.

But how are people checking all of the client-side browsers? Are people using Sauce Labs? Testling? Custom internal Selenium setups? Just loading up each browser in a VM locally and manually?

Re:Testing Backbone.js Best Practices by Colin_Johnson on Friday January 27, 2012 @11:48AM (#3518926)
If you have multiple client browsers yourself, js-test-driver might be a good fit. http://code.google.com/p/js-test-driver/wiki/GettingStarted
Re:Testing Backbone.js Best Practices by manveru on Thursday January 26, 2012 @07:53PM (#3516740)
setting -webkit-text-size-adjust: none is definitely not a best practice, makes it too hard to read your blog.
Re:Testing Backbone.js Best Practices by natedub on Thursday January 26, 2012 @09:50PM (#3516987)
Agreed, this frustrates me immensely. Fortunately both Chrome and Safari have good built-in Developer Tools that let you disable that style (it's set on the <body> element, btw).

The font size is not a design decision. It should always be the READER's CHOICE.

Re:Testing Backbone.js Best Practices by niels on Thursday January 26, 2012 @03:59PM (#3515971)
We use QUnit, with sinon.js for stubs and fake server at my company. We didn't want to use BDD.
Re:Testing Backbone.js Best Practices by joelhooks on Thursday January 26, 2012 @11:22PM (#3517139)
With xUnit I approach my units as discreet pieces of individual behavior that drive development.
Re:Testing Backbone.js Best Practices by jiggliemon on Thursday January 26, 2012 @04:40PM (#3516114)
Why did you specifically not want to use BDD?
Re:Testing Backbone.js Best Practices by niels on Saturday January 28, 2012 @05:31AM (#3521773)
In my opinion BDD has some extra overhead (that can be useful in the right scenarios). BDD is best suited when you have specs and external stakeholders. We don't have that in my company / startup.