Designing code with RSpec
#rails
#cucumber
#software design
#spec
#mock
#stub
#application
#unit test
#refactor
#mocha
#integration tests
#stubbing
#rspec
#mocking
#classes
#components
#jasmine
#behavior-driven development
#should-dsl
#phpspec
#spectrum
#phake
#nodespec
#sinon.js
#sinonjs
#node-gently
#nodemock
#outside-in
#code design
Stubbing in RSpec lets you write the code you wish you had. Learn how to design your code before you implement it in this screencast!
http://blog.codeship.io/2013/06/18/testing-tuesday-10-designing-code-with-rspec.html
#rails
#cucumber
#software design
#spec
#mock
#stub
#application
#unit test
#refactor
#mocha
#integration tests
#stubbing
#rspec
#mocking
#classes
#components
#jasmine
#behavior-driven development
#should-dsl
#phpspec
#spectrum
#phake
#nodespec
#sinon.js
#sinonjs
#node-gently
#nodemock
#outside-in
#code design
Written by Codeship
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Related Tags
#rails
#cucumber
#software design
#spec
#mock
#stub
#application
#unit test
#refactor
#mocha
#integration tests
#stubbing
#rspec
#mocking
#classes
#components
#jasmine
#behavior-driven development
#should-dsl
#phpspec
#spectrum
#phake
#nodespec
#sinon.js
#sinonjs
#node-gently
#nodemock
#outside-in
#code design
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#