sunpig + bdd   9

Unit test JavaScript applications with Jasmine | Adobe Developer Connection
Jasmine is a behavior-driven development (BDD) JavaScript testing framework Pivotal Labs maintains it and makes it available on GitHub under the MIT license. Jasmine allows tests to be written independent of the DOM or other JavaScript frameworks. You run Jasmine in a browser, or headless without a browser by integrating with other frameworks such as Rhino, Envy, or the Jasmine-headless-webkit library.
bdd  tdd  jasmine  javascript  browser  test  testing  adobe  tutorial  headless  automated  development  webdev  frontend 
yesterday by sunpig
Testing like the TSA - (37signals)
Every line of code you write has a cost. It takes time to write it, it takes time to update it, and it takes time to read and understand it. Thus it follows that the benefit derived must be greater than the cost to make it. In the case of over-testing, that’s by definition not the case.

Think of it like this: What’s the cost to prevent a bug? If it takes you 1,000 lines of validation testing to catch the one time Bob accidentally removed the validates_presence_of :name declaration, was it worth it? Of course not (yes, yes, if you were working on an airport control system for launching rockets to Mars and the rockets would hit the White House if they weren’t scheduled with a name, you can test it—but you aren’t, so forget it).
testing  tsa  dhh  rails  ruby  tdd  bdd  programming  software  assurance  quality  confidence 
7 weeks ago by sunpig

Copy this bookmark:



description:


tags: