Skip to content

Tests invoked with Rails runner instead of Rake runner in a Rails plugin #477

@mosaaleb

Description

@mosaaleb

Running tests inside Rails plugin invokes rails test runner instead of rake test runner:

Since there is a Rake file with Rake::TestTask in rails plugin, the runner executes with the command:

bundle exec rails test test/file_test.rb

I tried deleting gemfile.lock and Test runner invokes the right command:

bundle exec rake test TEST="test/test_file.rb"

Is there a way to manually select the default test runner per application?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions