summaryrefslogtreecommitdiff
path: root/tool/lib/test/unit/assertions.rb
AgeCommit message (Collapse)Author
2025-01-10Extract Benchmark.measure on assert_cpu_usage_lowHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12544
2024-09-04Ignore blocks to `Test::Unit::Assertions#pend` silentlyNobuyoshi Nakada
Although `pend` in test-unit gem expects the block does not pass if it is given, our `pend` should ignore the block silently as same as it just skips the test with no message by default. Add an unused parameter, to suppress the warning for the block to be ignored. Notes: Merged: https://github.com/ruby/ruby/pull/11538
2024-05-07[PRISM] Enable test_methoddef_endless_commandKevin Newton
2022-06-25Prevent accidental use of assert_raisesNobuyoshi Nakada
2022-04-20Added assert_true and assert_false same as test-unit gemHiroshi SHIBATA
2022-01-17Removed skip alias in test suiteHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5446
2021-10-18Remove `Test::Unit::Assertions#exception_details`Nobuyoshi Nakada
Never used since fa0f3eff228bb26de6d5b0e1238b1f358165dbd0. Notes: Merged: https://github.com/ruby/ruby/pull/4983
2021-09-13Use capture_output instead of capture_ioHiroshi SHIBATA
2021-09-13Rename capture_io to capture_output and deprecate to use capture_ioHiroshi SHIBATA
2021-09-13Removed unused mu_pp methodHiroshi SHIBATA
2021-09-13Renamed skip to pend and prepared to deprecate skip methodHiroshi SHIBATA
2021-09-11Removed unsed assertions for rubygemsHiroshi SHIBATA
2021-09-11Fixed uninitialized constant Test::Unit::Assertions::MIN_MEASURABLE.Hiroshi SHIBATA
I'm not sure why it's failed under the chkbuild and rubyci. http://rubyci.s3.amazonaws.com/arch/ruby-master/log/20210911T000007Z.fail.html.gz
2021-09-11Replace Test::Assertion and Test::Skip to Test::Unit::AssertionFailedError ↵Hiroshi SHIBATA
and Test::Unit::PendedError Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-09-11Fixed inconsistent require order for assertions and core_assertionsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-09-11Integrate Minitest to TestHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-09-11Replace MiniTest::Unit to Test::Unit::RunnerHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-09-11Use self class for diffHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-09-11Use MiniTestHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-09-11Move constants under the TestCaseHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-09-11Move MiniTest::Assertions to Test::Unit::AssertionsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-09-06Use Test::Unit::PendedError instead of MiniTest::Skip for test-unit migrationHiroshi SHIBATA
2021-09-06Simplify conditions for CoreAssertion initializationHiroshi SHIBATA
2021-07-11Move core_assertions.rb from test/unitNobuyoshi Nakada
This file contains extended assertions for ruby core which do not belong to test/unit.
2021-06-01Expose assert_all? for ruby/csv repoHiroshi SHIBATA
2020-12-24Pass keyword options in assert_syntax_errorNobuyoshi Nakada
2020-10-08Expose assert, assert_respond_to and assert_not_respond_to for default gems.Hiroshi SHIBATA
2020-07-02Expose `assert_pattern_list` for drb test with test-unit gem.Hiroshi SHIBATA
2020-02-11Expose assert_no_memory_leak for weakrefHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2900
2020-02-11Expose assert_normal_exit for weakrefHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2900
2019-10-23Catch syntax error even if fatalNobuyoshi Nakada
2019-10-01expose assert_raise and assert_join_threadsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2516
2019-08-14Move some assertions to CoreAssertions. (#2354)SHIBATA Hiroshi
They are used by default gems like forwardable. * assert_raise_with_message * assert_warning * assert_warn Notes: Merged-By: hsbt <[email protected]>
2019-08-03Move assert_ruby_status and assert_throw to CoreAssertions for default gems.Hiroshi SHIBATA
2019-07-15Separate the assertions of ruby core tests from test/unit/assertions.Hiroshi SHIBATA
2019-07-02Move to tool/lib from test/lib.Hiroshi SHIBATA