Stubbing and Mocking with RSpec
#rails
#jasmine
#rspec
#cucumber
#software design
#spec
#mock
#stub
#application
#unit test
#refactor
#mocha
#integration tests
#stubbing
#mocking
#classes
#components
#continuous
#behavior-driven development
#should-dsl
#phpspec
#spectrum
#phake
#nodespec
#sinon.js
#sinonjs
#node-gently
#nodemock
#behavior
#outside-in
Unit tests should focus on one thing: the component you are testing. Stubbing and Mocking in RSpec will get you there. Learn more in this screencast!
http://blog.codeship.io/2013/06/11/testing-tuesday-9-stubbing-and-mocking-with-rspec.html
#rails
#jasmine
#rspec
#cucumber
#software design
#spec
#mock
#stub
#application
#unit test
#refactor
#mocha
#integration tests
#stubbing
#mocking
#classes
#components
#continuous
#behavior-driven development
#should-dsl
#phpspec
#spectrum
#phake
#nodespec
#sinon.js
#sinonjs
#node-gently
#nodemock
#behavior
#outside-in
Written by Codeship
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Related Tags
#rails
#jasmine
#rspec
#cucumber
#software design
#spec
#mock
#stub
#application
#unit test
#refactor
#mocha
#integration tests
#stubbing
#mocking
#classes
#components
#continuous
#behavior-driven development
#should-dsl
#phpspec
#spectrum
#phake
#nodespec
#sinon.js
#sinonjs
#node-gently
#nodemock
#behavior
#outside-in
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#