aboutsummaryrefslogtreecommitdiffstats
path: root/tool/test
Commit message (Collapse)AuthorAgeFilesLines
* Refactor ordering of testsNobuyoshi Nakada2021-10-042-21/+61
| | | | | | * Split the sorting types into classes. * Apply the same sorting to method sorting under the parallel test.
* Prohibit test method redefinitionNobuyoshi Nakada2021-09-171-9/+4
|
* Fixup 455978cd133f27fab9e2bfa4301efd3b7c7d0462Hiroshi SHIBATA2021-09-131-1/+1
|
* Use capture_output instead of capture_ioHiroshi SHIBATA2021-09-131-2/+2
|
* Removed unsed assertions for rubygemsHiroshi SHIBATA2021-09-111-14/+0
|
* Drop to Ruby 1.8 related codeHiroshi SHIBATA2021-09-111-3/+1
|
* Removed rubinius support from test suiteHiroshi SHIBATA2021-09-111-5/+0
|
* Removed maglev related code because it's not active status nowHiroshi SHIBATA2021-09-111-6/+4
|
* fixup f73f9e1f893409d8b7b42ff5fbda104fdd277cbaHiroshi SHIBATA2021-09-111-1/+1
|
* Replace Test::Assertion and Test::Skip to Test::Unit::AssertionFailedError ↵Hiroshi SHIBATA2021-09-113-25/+25
| | | | and Test::Unit::PendedError
* Fixed inconsistent require order for assertions and core_assertionsHiroshi SHIBATA2021-09-111-0/+2
|
* Surpressing the noisy messagesHiroshi SHIBATA2021-09-111-0/+8
|
* Temporary pend unknown behavior of parallel testsHiroshi SHIBATA2021-09-111-1/+3
|
* pend non-supported featureHiroshi SHIBATA2021-09-111-0/+2
|
* More fixed assertion message testsHiroshi SHIBATA2021-09-111-17/+10
|
* We prepared Test::Unit::TestCase in default valueHiroshi SHIBATA2021-09-111-2/+2
|
* We don't want to consistent assert and refute assertionsHiroshi SHIBATA2021-09-111-26/+0
|
* Fixed compatible assertion message formatHiroshi SHIBATA2021-09-111-35/+11
|
* Removed output assertion tests. Because our default runner is replaced by ↵Hiroshi SHIBATA2021-09-111-232/+0
| | | | custom output
* Use msg format with test-unitHiroshi SHIBATA2021-09-111-2/+2
|
* Use Test namespace instead of MiniTest in test_parallel.rbHiroshi SHIBATA2021-09-111-3/+3
|
* Use Test::Unit::Assertions migrated with MiniTest::AssertionsHiroshi SHIBATA2021-09-112-6/+6
|
* Replace Test::Unit to Test::Unit::Runner migrated with MiniTest::UnitHiroshi SHIBATA2021-09-112-9/+9
|
* Use assert_raise instead of assert_raisesHiroshi SHIBATA2021-09-111-31/+31
|
* Replace MiniTest to TestHiroshi SHIBATA2021-09-112-71/+71
|
* Move test of minitest to testunitHiroshi SHIBATA2021-09-112-0/+0
|
* Use CoreAssertions instead of AssertionsHiroshi SHIBATA2021-09-111-2/+2
|
* check GC.enable'd statusKoichi Sasada2021-08-051-1/+1
| | | | | | | Check GC.enable'd status before and after test execution. Write this checker in gc_checker.rb, it was renamed from gc_compact_checker.rb.
* Fix relative paths from core_assertions.rbNobuyoshi Nakada2021-08-041-1/+1
|
* Removed minitest/mockHiroshi SHIBATA2021-05-191-404/+0
|
* Removed minitest/benchmarkHiroshi SHIBATA2021-05-181-130/+0
|
* Removed minitest/autorunHiroshi SHIBATA2021-05-183-3/+1
|
* Use Test::Unit instead of Minitest::UnitHiroshi SHIBATA2021-05-181-4/+4
|
* Run nmake check on Actions (#4487)Takashi Kokubun2021-05-112-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Run nmake check on Actions * Skip tests not working in mswin GitHub Actions * Override TEMP * Revert "Skip tests not working in mswin GitHub Actions" This reverts commit 544d2575fcdf23ae63cd25aa03fce10c28b259f2. * Revert "Revert "Skip tests not working in mswin GitHub Actions"" This reverts commit e1f8ad7862c9c4be52dc6e1031a004621eb07e6e. * Fix timeouts * Skip some more broken tests * Update windows.yml * Add a guard for rbasic_spec * Revert "Update windows.yml" This reverts commit bc9694b6b3b9594d406378d15ca11723fb052bc8. * Skip the ensure clause * Simplify the ensure
* Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun2021-01-134-4/+4
| | | | | | | | because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490]
* Move webrick library into internal test toolchainHiroshi SHIBATA2020-12-1024-0/+3804
|
* Guard all accesses to RubyVM::MJIT with defined?(RubyVM::MJIT) &&Benoit Daloze2020-12-042-2/+2
| | | | * Otherwise those tests, etc cannot run on alternative Ruby implementations.
* Workaround for Minitest5Hiroshi SHIBATA2020-05-081-0/+3
|
* MiniTest::Unit.options has default :seedKoichi Sasada2020-02-271-1/+0
| | | | | | | | MiniTest::Unit (superclass of Test::Unit::Runner) does not has default seed parameter, but assigned after initializing. However some tests use MiniTest::Unit without setup of seed option and it cases unexpected test failures. To solve this issue, add default seed parameter 42.
* `srand($seed)` at the beginning of each testKoichi Sasada2020-02-271-0/+1
| | | | | | To avoid `srand(0)` effect in the other tests, call `srand($seed)` at the beginning of each test (setup). [Feature #16655]
* call GC.compact after each test.Koichi Sasada2019-12-121-0/+1
| | | | | RUBY_TEST_GC_COMPACT=1 enables GC.compact checker which calls GC.compact after each test.
* Make TracePoint.stat a singleton method again (#2726)Alan Wu2019-12-041-1/+1
| | | [Bug #16399]
* tool/lib/test/unit/parallel.rb: fail explicitly when failing to get ioYusuke Endoh2019-12-031-0/+2
| | | | | | | `(ulimit -n 30; make test-tool)` fails with unexplicit message: "undefined method `write' for nil:NilClass" due to lack of stdout. This change makes it explicit. [Bug #5577]
* use builtin for TracePoint.Koichi Sasada2019-11-081-2/+1
| | | | Define TracePoint in trace_point.rb and use __builtin_ syntax.
* fix assertion number.Koichi Sasada2019-10-021-1/+1
| | | | | On parallel test, there are additional tests because of implicit checkers which are enabled on 84cbce3d88.
* Enable checkers on parallel test.Koichi Sasada2019-10-021-4/+4
| | | | | | | | | parallel test (`make test-all TESTS=-j8`) runs tests on specified number of processes. However, some test checkers written in `runner.rb` are not loaded. This fix enable these checkers on parallel tests. See also: https://github.com/ruby/ruby/pull/2508
* Get rid of failures about coverageNobuyoshi Nakada2019-07-251-1/+1
| | | | | Run test suites explicitly instead of auto-running, to get rid of failures when simplecov is not installed but COVERAGE is set.
* Separated tool/test/runner.rb and test/runner.rbNobuyoshi Nakada2019-07-251-32/+16
| | | | | | As `make test-tool` does not use gems, and no Rubygems stuffs is needed, so moved such things to test/runner.rb. Also no longer nees `--test-target-dir` option.
* Moved NoMemoryError hook to Test::Unit::AutoRunnerNobuyoshi Nakada2019-07-251-7/+1
|
* @@project_dir in Gem::TestCase is no longer usedNobuyoshi Nakada2019-07-241-6/+0
|