Skip to content

Commit

Permalink
Add rake test:isolated for Action Mailbox
Browse files Browse the repository at this point in the history
This commit adds isolated test for Action Mailbox
```
$ cd actionmailbox
$ bundle exec rake test:isolated
```
  • Loading branch information
yahonda committed Jan 16, 2023
1 parent 529ae77 commit 07d32aa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions actionmailbox/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,12 @@ Rake::TestTask.new do |t|
t.verbose = true
end

namespace :test do
task :isolated do
FileList["test/**/*_test.rb"].exclude("test/dummy/**/*").all? do |file|
sh(Gem.ruby, "-w", "-Ilib", "-Itest", file)
end || raise("Failures")
end
end

task default: :test

0 comments on commit 07d32aa

Please sign in to comment.