Food >
See also:
Software >
Ruby > Ruby web programming, Ruby testing > Test::Unit >
https://github.com/doudou/flexmock
https://rubygems.org/gems/flexmock/
FlexMock is a simple, but flexible, mock object library for Ruby unit testing.
Works with RSpec or Test::Unit.
Ruby > Ruby web programming, Ruby testing > Test::Unit[doesn't exist] >
As I promised in another post today, here is some basic code to get you started on using Ruby's Test::Unit.
Update: I've put in my 10,000 hours - update
Lately I've been reviewing my skills and interests, and sketching out what I'm interested in learning and accomplishing.
Malcolm Gladwell was on The Hour, and he talked about his "10,000-Hour Rule" from his book Outliers.
I act in cycles. I am inspired by and I work on something new, and that inspiration shifts around. I also have a tendancy to drop and pick up projects in cycles. In the past I've dropped ideas for long enough for all effort to become meaningless given enough time, but these days I've been careful to cycle back to earlier ideas to scrape off the cruft and re-launch the project.
When I re-launch a project, I often find myself bringing significant maturity to the table. I have new ideas and techniques, and I take a kind of sick pleasure in redoing much of my previous work. This isn't just a programming thing.. it applies to anything that I've been working on.
Software >
Ruby > Ruby web programming, Ruby testing >
(on Wikipedia)
https://rspec.info/
The original Behaviour Driven Development framework for Ruby.
Has a mocking spec based on JMock
(the software, not the vegetable)
Software >
Ruby > Ruby web programming, Software testing >
(on Wikipedia)
https://cucumber.io/ [ 1 ] was http://cukes.info/
Behavior-driven.
A rewrite of RSpec's Story Runner.
Cucumber works with Ruby, Java, .NET, Flex or web applications written in any language.
Footnotes
Software >
Ruby > Ruby web programming, Ruby testing >
This is the default test mechanism in Ruby and Rails.
Properly titled Test::Unit
(with regular colons)
See also:
Disambiguation: Selenium
Software >
Ruby > Ruby web programming, Ruby testing >
(on Wikipedia)
https://www.selenium.dev/ [ 1 ] was http://selenium.seleniumhq.org/
Footnotes