(Vague) Jasmine 2.0 Goals/(Guidelines)

  1. No globals!
    • jasmine library is entirely inside jasmine namespace
    • globals required for backwards compatibility should be added in boot.js (EG, var describe = jasmine.getCurrentEnv().describe lives in boot.js)
  2. Don't use properties as getters. Use methods.
    • Properties aren't encapsulated -- can be mutated, unsafe.
  3. Reporters get data objects (no methods).
    • easier to refactor as needed
  4. More unit tests - fewer nasty integration tests

Remaining non-story-able work:

Hard

Easy

DONE

Other Topics