Oxycon Blog
  • Home
  • About
  • Contact
  • Twitter
  • Instagram
  • OpenSource
  • Github
  • RSS
  • Home
  • About
  • Contact
  • Twitter
  • Instagram
  • OpenSource
  • Github
  • RSS
What is the difference between Fixtures and Factories in Ruby on Rails tests?

What is the difference between Fixtures and Factories in Ruby on Rails tests?

Fixtures or factories for Rails tests? How each approach works: static YAML data Rails loads before every run versus FactoryBot objects built on demand, with examples and clear guidance on when speed favors fixtures and flexibility favors factories.

Apr 14, 2025

ruby
Finding the slowest tests in Minitest and Rspec using profiler minitest

Finding the slowest tests in Minitest and Rspec using profiler

Slow test suites usually hide a few expensive tests. Minitest and RSpec both ship a built-in profiler: bin/rails test --profile and rspec --profile 10 list your slowest examples with execution times, so you know exactly which tests to optimize first.

Jul 10, 2023

Latest

Page 1 of 1
Oxycon Blog

Thought stories and ideas to Oxygenate You, Your product and The World in practice.

Explore

  • Home
  • About
  • Contact
  • Twitter
  • Instagram
  • OpenSource
  • Github
  • RSS

© 2026 Oxycon Blog. All rights reserved.

We use cookies to improve our services.