1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

allow every test to be run with just ruby test/xxx_test.rb

This commit is contained in:
grosser 2014-12-30 12:54:58 -08:00
parent 01dc468a22
commit 57a06d00d6
20 changed files with 19 additions and 20 deletions

View file

@ -1,7 +1,6 @@
require 'bundler/gem_tasks'
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'test'
#SO MUCH NOISE
#test.warning = true
test.pattern = 'test/**/test_*.rb'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
class TestApi < Sidekiq::Test

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq/cli'
require 'tempfile'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq/client'
require 'sidekiq/worker'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq/exception_handler'
require 'stringio'
require 'logger'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq'
require 'active_record'
require 'action_mailer'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq/fetch'
class TestFetcher < Sidekiq::Test

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq/manager'
class TestManager < Sidekiq::Test

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq/middleware/chain'
require 'sidekiq/processor'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq/processor'
class TestProcessor < Sidekiq::Test

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq/redis_connection'
class TestRedisConnection < Sidekiq::Test

View file

@ -1,5 +1,5 @@
# encoding: utf-8
require 'helper'
require_relative 'helper'
require 'sidekiq/scheduled'
require 'sidekiq/middleware/server/retry_jobs'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq/scheduled'
class TestScheduled < Sidekiq::Test

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq/scheduled'
class TestScheduling < Sidekiq::Test

View file

@ -1,5 +1,5 @@
# encoding: utf-8
require 'helper'
require_relative 'helper'
class TestSidekiq < Sidekiq::Test
describe 'json processing' do

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq'
require 'sidekiq/worker'
require 'active_record'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq'
require 'sidekiq/worker'
require 'active_record'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq'
require 'sidekiq/worker'
require 'active_record'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'sidekiq'
require 'sidekiq/web'
require 'rack/test'

View file

@ -1,4 +1,4 @@
require 'helper'
require_relative 'helper'
require 'rails/generators/test_case'
require 'generators/sidekiq/worker_generator'