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

  • Home
  • SEARCH
  • 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 9178307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:31:15+00:00 2026-06-17T17:31:15+00:00

for a bigger rails application I implemented the ability to load plugins. Of course

  • 0

for a bigger rails application I implemented the ability to load plugins. Of course I want to test those plugins, too.

For a cleaner directory structure I created test/plugins/ and in this file several test case files.

Is there a possibility to run those tests similar to test/unit and test/functional with rake test and rake test:plugins?

Greetings,
CK

  • 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-17T17:31:17+00:00Added an answer on June 17, 2026 at 5:31 pm

    You can create your own Rake task to test whatever you choose! In a .rake file under lib/tasks:

    require 'rake/testtask'
    
    namespace :test do
      Rake::TestTask.new :my_custom_tests do |t|
        t.libs << 'test' # if you need to `require 'test_helper'`
        t.pattern = 'test/custom_subdir/**/*_test.rb'
      end
    end
    

    Then you can run these tests using rake test:my_custom_tests.

    If you want these tests to also run when you run your existing test task (i.e. rake test), you can enhance that task. In a Rails app the task that actually does the heavy lifting is test:run (test itself does a few other things first, including setting up your test db)

    Rake::Task['test:run'].enhance do
      Rake::Task['test:my_custom_tests'].invoke
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a bigger Rails application which should be able to load plugins.
I want to make bigger application that stores multiple avatars for each registered user
When I started my first bigger Rails application, I chose to use Apache (with
we built a facebook application with ruby/rails and facebooker (iframe application) and are currently
When developing bigger systems in team, often, there are separate guys for implementing application
I want an NSTextField to get bigger as the user types, and smaller as
Im trying to achieve the following effect in rails: If the text is bigger
I'm creating trips in my rails app and i want to add categories to
I am working on a Rails 3.2.1 application with the twitter-bootstrap-rails gem. When in
I have a Rails application that does a lot of media encoding. I am

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.