Skip to content

walkeriniraq/credit-card-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

credit-card-app

This is just a small application I've put together to test javascript TDD using jasmine and coffeescript. There is a small sinatra application mostly existing to automatically compile my coffeescript into javascript.

Since "application" has two meanings in this case, I'm calling the credit card application object a "form"

I'm using rspec to test the server script and jasmine to test the javascript app. The app is constructed using Ember, a fairly new MVC framework that runs on jquery and uses "handlebars" for templating.

Notes - 10/28/2012

Ember turned out to be way overkill for this project. Most of what was done could have been done with jQuery and simple coffeescript, and Ember added complexity that really wasn't needed. I was hoping that it would be "rails simple" but it really didn't seem to be. (or I don't remember how complex rails was then I started)

Instructions

Run bundle install

Test the server with "rspec spec"

Run the server with "ruby server.rb" or "jruby server.rb" (only tested with jruby)

Run the jasmine tests

Run the demo

Included code

Ruby Gems

Useful stuff & Links

Javascript frameworks list Jasmine testing ajax Ember js objects Testing ember views

About

Coffeescript TDD example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published