-
Notifications
You must be signed in to change notification settings - Fork 0
serega/concurrenttestunit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ConcurrentUnitTest __________________ ConcurrentUnitTest allows to run unit tests concurrently. Ruby interpreter does not use native threads, so if the unit tests are CPU bound then there is no need to run unit tests concurrently. If unit tests IO bound, especially if they write/read database, running them concurrently can dramatically speed up execution. If you use JRuby even running CPU bound tests may be beneficial, because JRuby uses native threads, so eventually different tests may run on different cores. Sample usage. require 'test/unit/concurrent/concurrenttestunit' class MyTestCase < Test::Unit::ConcurrentTestCase def test_one end def test_two end end Test::Unit::Concurrent::ConcurrentTestRunner.run(MyTestCase)
About
Extension of Test::Unit allows to execute suites and tests concurrently.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published