Skip to content
Benjamin Atkin

Benjamin Atkin

web developer

Tag: testing

Posted on May 16, 2014May 27, 2014

jschain: angular directive and a test (#15)

I built a random-color angular directive with a test on the same page. I started by using plunkr but gave up and used Bower because my connection was unreliable. I learned that angular-mocks is a counterpart to Jasmine in that it exports global variables for convenience. Also, angular-mocks must be loaded after Jasmine. I learned this the hard way.

Posted on May 13, 2014May 27, 2014

jschain: tests (mocha/chai) inside jsbin (#12)

I found Mocha and Chai on cdnjs and created a small example of running them inside jsbin.

Projects

  • anigram
  • ilearnedtoprogram
  • resource infobox

Tags

  • api
  • blogs
  • code
  • command line
  • communities
  • couchdb
  • databases
  • design
  • editors
  • emacs
  • firefox
  • github
  • goals
  • grem
  • health
  • heroku
  • ideas
  • javascript
  • jQuery
  • jschain
  • json
  • learning
  • marketing
  • micropost
  • node.js
  • open source
  • organization
  • pontifications
  • productivity
  • programming
  • python
  • quotes
  • rails
  • react
  • ruby
  • social media
  • software
  • startups
  • travel
  • twitter
  • version control
  • video
  • vim
  • web development
  • wordpress

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Elsewhere

  • 43 things
  • codepen
  • facebook
  • github
  • google+
  • hacker news
  • indiewebcamp
  • LinkedIn
  • pinboard
  • Pinterest
  • plurk
  • Stack Overflow
  • twitter
  • yo
Proudly powered by WordPress