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 8852403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:23:32+00:00 2026-06-14T13:23:32+00:00

I recently learned, Rspec + Capybara (I’m new to testing things). And I’ve been

  • 0

I recently learned, Rspec + Capybara (I’m new to testing things). And I’ve been testing some new models I’ve created. Now, I was thinking of adding the title column to my Post model. It’s not a hard task, and I’ve done it many times before. But I realized that it’s going to take me some work updating the spec files (e.g. post, post pages, user, user pages, factories, sample_data, etc.).

Is testing in this case, a waste of time? Or it is a good practice to test absolutely everything?

I also wonder if testing gems is a waste of time as well? Since they’ve been probably already tested by their creators (the same for testing something taken from a reliable tutorial).

  • 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-14T13:23:34+00:00Added an answer on June 14, 2026 at 1:23 pm

    While the ruby community is known by its focus on testing, every case should be analyzed in context to figure out what the most cost-effective decisions are.

    It is useful to think of tests as a technique to manage risk. If you don’t think that displaying titles/adding them to the database is a task that is error-prone, complex to perform, or that the cost of adding those tests is higher than the risk of eventually breaking something, them it might be wise to not do it.

    That said, since you said that you are new to testing, I would recommend (if you are not time-constrained, of course) to try to take the idea to the extreme of testing absolutely everything, so that you can have an idea of how much of it adds value, and how much is waste of time.

    You might want to take a look at this blog post from DHH, the creator of Rails, where he talks about that: Testing like the TSA

    About testing gems, it is generally well-accepted that they shouldn’t be tested by your application tests, but by their creators. Most of the time you can simply assume that they work the ways they promise.

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

Sidebar

Related Questions

I recently learned Python (2.7) and have been making some simple board games with
I've only just recently learned about Google's programming language, Go. I've been intrigued by
I'm fairly new to Subversion and recently learned how to automatically import files which
I just recently learned about self calling anonymous functions. Some snippets of code that
I'm still a C++ newbie who has only recently learned some file manipulation. I
I'm still new to Objective-C and I recently learned how to make properties, so
So I recently learned of the new JavaCompiler API available in JDK 1.6. This
I am new to iOS programming, and have recently learned a valuable lesson in
I've recently learned like 3 new languages and I'm starting to get them confused.
I recently learned about IKVM.net which is a Java for Mono (.NET). So I

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.