That’s me :)
Visit http://www.anatolyspektor.com to find out more about me !
-
Get My Book
Categories:
Blog Stats
Latest Tweet:
Tweets by anatolyspMost Popular:
- 10 ways how to speed your unit tests [Rails, RSpec, Capybara]
- How to measure your Ruby method performance ? [Ruby, Benchmark]
- How to reverse a String not using built-in reverse method ? How to reverse every word in a sentence? [Ruby]
- Tutorial: How to get data from external API ? PART 2: Sending Request, Parsing Output [Ruby, JSON, REST]
- Tutorial: How to get data from external API ? PART 1: Getting API Key, Creating and Loading Configuration File [Ruby, YAML, REST]
- How to ensure that filename is always unique ? [Ruby]
- How to mock file upload with RSpec 3.0 ? [SOLVED]
- How to stub File.read in RSpec 3 [RAILS, TDD]?
- How to stub an IP in Ruby on Rails, RSpec Version 3 ?
- How to scaffold JavaScript Web Application in seconds using YEOMAN ? (example with Backbone Marionette)
Tag Archives: factoryGirl
10 ways how to speed your unit tests [Rails, RSpec, Capybara]
#10 Avoid writing to the database Lets take simple example. I have this test: I am testing if Address is valid by passing a Factory with dummy data. When I run this test in console I get this: 0.022777 For … Continue reading →
Posted in Rails, Rspec, Ruby
|
Tagged 10 ways to speed up unit tests, capybara, factoryGirl, fast rspec, mock, Rails, Rspec, Ruby, speed up unit tests, speedy rspec, stub test, unit test
|
Leave a comment