Skip to content

Testing experiments on the Peepcode Ordr EmberJS Application

Notifications You must be signed in to change notification settings

tyreepace/peepcode-ordr-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peepcode-ordr-test

Testing experiments on the Peepcode Ordr EmberJS Application

See: Peepcode EmberJS Screencast.

Objectives

The Ordr application in the Peepcode screencast is a perfect application to experiment upon:

  1. Small
    • 85 lines of Javascript
    • <100 lines of HTML/templating
  2. Sophisticated
    • 5 classes
    • Key relationships
    • Exploits EmberJS features (which it should since it's an EmberJS tutorial!)

Hence, it's a reasonable "smallest realistic" Ember app to "play with". So here we're playing with testem to perform integration testing on the Ordr application.

Maturity

We just built this on March 5, 2013; but we got docs and a running test! We're going to be testing numerous different testing metaphors and will be documenting them as we go along. Please offer suggestions/ feedback/etc and/or come join us!

Installation

  1. Clone this application into your favorite work directory:

    git clone git@github.com:OC-Emberjs/peepcode-ordr-test.git
    
  2. Install testem.

  3. In a console window:

    cd peepcode-ordr-test
    bundle install
    testem
    
  4. Observe that testem is running.

  5. Connect browsers to testem as documented by testem.

  6. Observe test results both in connected browsers and in testem browser page itself.

At this point, we have coffee-based test scripts here:

js/tests/tests/*

Credits

Thanks to:

  • Peepcode for giving permission to use their Ordr application. Highly recommend their screencast.
  • Bill Heaton for his PRs.

About

Testing experiments on the Peepcode Ordr EmberJS Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published