Testing experiments on the Peepcode Ordr EmberJS Application
The Ordr application in the Peepcode screencast is a perfect application to experiment upon:
- <100 lines of HTML/templating
- 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 JS Karma as the test runner to run integration tests on the Ordr application.
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!
Clone this application into your favorite work directory:
git clone email@example.com:OC-Emberjs/peepcode-ordr-test.git
Install JS Karma.
Karma config expects Firefox and Chrome installed.
In a console window:
cd peepcode-ordr-test karma start
At this point, we have test scripts here:
And the App sits at: