- boxes of hot soup to be delivered
- how to determine how many parallel packers?
-> google testing blog's 30 min video on unit tests
- take the smallest piece of testable software in the application
- isolate it from the remainder of the code
- determine whether it behaves exactly as you expect
- individual software modules are combined and tested as a group
When I visit the login page
And fill out the account signup
I should receive an email about it
And I should be logged in
- contract
- the soup should not be cold
- the soup should not be less than 90 degrees
- the soup should not be less than 90 degrees Fahrenheit
- jekyll
- middleman
- sinatra
- rails
- express
- basic login test
- browsers
- cache
- unit tests
describe '#normalize!' do
it 'normalizes coordinates to "[0,x],[60,y]" form' do
coordinate = Coordinate.new(300,3,240,4)
coordinate.normalize!
expect(coordinate.coordinates).to eq [[0,3], [60,-7]]
end
end
- integration tests
- acceptance tests
- travis
- jenkins
- guard
- npm built in script
- gulp, grunt
- mocha
- chai
- sinon
- jasmine
- frisbyjs - REST API test tool
- rspec
- minitest
- cucumber
- guard
- rake
- binding.pry
- pry-rescue
- pry-stack_explorer
- rspec-given
- httpie
- lettuce
- behave
- postman
- curl
curl "localhost:4000"