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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:15:18+00:00 2026-05-14T22:15:18+00:00

Today I am going to get as far as I can setting up my

  • 0

Today I am going to get as far as I can setting up my testing environment and workflow. I’m looking for practical advice on how to setup the test environment from you guys who are very passionate and versed in Ruby Testing.

By the end of the day (6am PST?) I would like to be able to:

  1. Type one 1-command to run test suites for ANY project I find on Github.
  2. Run autotest for ANY Github project so I can fork and make TESTABLE contributions.
  3. Build gems from the ground up with Autotest and Shoulda.

For one reason or another, I hardly ever run tests for projects I clone from Github. The major reason is because unless they’re using RSpec and have a Rake task to run the tests, I don’t see the common pattern behind it all.

I have built 3 or 4 gems writing tests with RSpec, and while I find the DSL fun, it’s less than ideal because it just adds another layer/language of methods I have to learn and remember. So I’m going with Shoulda. But this isn’t a question about which testing framework to choose.

So the questions are:

  1. What is your, the SO reader and Github project committer, test environment setup using autotest so that whenever you git clone a gem, you can run the tests and autotest-develop them if desired?
  2. What are the guys who are writing the Paperclip Tests and Authlogic Tests doing? What is their setup?

Thanks for the insight. There are tons of resources describing how to use the different testing frameworks, but almost nothing on the actual setup and workflow. Looking for answers that will make me a more effective tester.

  • 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-05-14T22:15:19+00:00Added an answer on May 14, 2026 at 10:15 pm

    The most common convention probably is rake test, rake spec, or maybe even just rake.

    Of course, there is no question that this will fail with many projects, in particular the ones without tests or specs.

    It might be possible to parse the output of rake -T if a Rakefile is there, and act on that, but there really is no way you will cover ALL projects on GitHub.

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

Sidebar

Related Questions

I made the mistake of upgrading eclipse today and now can't get my a
Today I was looking at some code atually from Nikhil Kothari's Facebook.NET API. I
How going, dudes? So today it's a really ridiculous question, but i just can't
I'm going crazy today. I just tried to insert a new record and it
So we start Scrum today and start going over story points estimates. The first
I started using NetBeans today, and it was all going swimmingly, until I came
I downloaded Rhino Security today and started going through some of the tests. Several
Today I've tried to get Edit & Continue to work in my solution, which
I was going through an article today when it mentioned the following: We've found
I need to get dates that are greater than or equal to today. 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.