Seattle EmberJS Meetup April: Ember-Testing and Integration Testing in Ember

Table of Contents

1. Seattle EmberJS Meetup April

2. Ember-Testing

2.2. Most issues come from async

This is stil something that is only provided based on polling.

  // Define end for async
  

2.4. Based on QUnit

  • Start with setup
  • provide teardown
  module('/conversations', {
    'setup': function() {}, 
    'teardown': function() {}
  })
  

2.5. Outcome

Running inside an app assumes full stack is Ember.

3. Ember Project from Scratch

3.1. Ember Rails Starter Kit

This just creates an application and a minimal template.

  • one template (handlebars)
  • one JavaScript

3.2. Using example using git clone

This allows a fast build of all core templates rather than forcing past and testing.

3.6. Set the context of the template

Uses a nomenclature of feed_route: extending from Ember.Routes.

3.8. Add in a new view of a particular feed

This requires that we create a new router entry for viewing a particular feed.

A resource has a route. The path also supports the standard routing definition.

The resource would need a supporting template.

3.12. Outcome

Looks at escaping by default: {{{}}}; the amount of time spent in building new application in decomposition and the generation of new routes and linking when contrasted with the effort traditionally devoted in Spring applications is apparent. There linking and web work is usually more work than persistence and storage.