Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8305595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:08:51+00:00 2026-06-08T18:08:51+00:00

Recently, I’ve read quite a few articles about Minitest. I really like the idea

  • 0

Recently, I’ve read quite a few articles about Minitest. I really like the idea of a super lightweight test framework. I decided to replace rspec with it in a recent project and have had no luck getting it all to work. My problems are

a) getting named routes in my acceptance/integration tests (rspec and test::unit seem to automatically include them but no go with minitest),
b) and the overall lack of adoption in rails makes me uneasy (everyone seems to be using rspec though it’s used more with gems/libraries).

Is it worth using minitest when rspec has the main dominance with testing rails applications?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:08:52+00:00Added an answer on June 8, 2026 at 6:08 pm

    I’m the author of minitest-rails. Things have changed a lot from the time you originally asked this to now. My answer assumes you’re using minitest-rails.

    Named Routes

    If you are using minitest-rails this just works (now). You can use the generators to create these tests, or write them yourself. All the named routes are available in your acceptance/integration tests.

    require "minitest_helper"
    
    describe "Homepage Acceptance Test" do
      it "must load successfully" do
        get root_path
        assert_response :success
      end
    end
    

    Adoption

    I think we will continue to see increased attention on using Minitest with Rails as we get closer to Rails 4.

    Worth it?

    I think starting with Minitest now is totally worth it. There is tremendous activity going on in Minitest right now. It aligns nicely with the recent focus on fast tests as well. But it really depends on your app and team dynamics.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently users of my website complained about the lack of support to IE6\7. Is
Recently I've been doing quite the project mostly working with the DateTime class. Now,..
Recently I've read this performance guide Let's make the web faster and was puzzled
Recently I bought a new android tablet (a no-name Chinese tablet), and I'd like
Recently I am working on selenium webdriver 2.0 (developing automation framework). As per requirement
Recently I've been thinking about how to transform a complex polygon into a non-complex
Recently, I like using CSS-Table Layouts more and more. When I had another issue
recently I installed Nodejs on Windows 7 and it was working perfectly. Few days
Recently, I came across this one stone kills multiple birds framework - http://phonegap.com/ .
Recently I found about this tool easy_install that help me to easy install additional

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.