Nobuyoshi Nakada
1fa4d15ca7
Add Test::Unit::TestCase#method_name
...
For the compatibility with test-unit gem.
2024-02-21 15:45:53 +09:00
lukeg
7717684d16
tool test/unit/testcase: rename vars @passed, @@current
...
to @__passed__, @@__current__.
@passed is redefined in a few test suites, and this could lead to bugs.
Also rename @options (Runner#options) to @__runner_options__, which is
only used in make test-tool anyway.
2023-10-26 12:39:13 +09:00
Nobuyoshi Nakada
6c74976aef
Remove Test::Unit::TestCase.make_my_diffs_pretty!
...
`Test::Unit::CoreAssertions#mu_pp` is defined always using
`pretty_inspect`.
2021-10-18 17:36:06 +09:00
Nobuyoshi Nakada
370fff98ce
Prefer require_relative
2021-10-15 18:47:25 +09:00
Nobuyoshi Nakada
c4570acc86
Refactor ordering of tests
...
* Split the sorting types into classes.
* Apply the same sorting to method sorting under the parallel
test.
2021-10-04 20:46:47 +09:00
Nobuyoshi Nakada
34d6720fee
Prohibit test method redefinition
2021-09-17 08:54:18 +09:00
Hiroshi SHIBATA
dbdceb8a19
Removed workaround for test_order
2021-09-13 14:39:23 +09:00
Hiroshi SHIBATA
d58e0ffc24
Removed unused alias for run_test
2021-09-11 20:35:18 +09:00
Hiroshi SHIBATA
a13ee1f33c
Removed rubinius support from test suite
2021-09-11 18:10:15 +09:00
Hiroshi SHIBATA
aebd0a873e
Removed maglev related code because it's not active status now
2021-09-11 18:10:15 +09:00
Nobuyoshi Nakada
952806cdec
Update comments for minitest
2021-09-11 17:37:49 +09:00
Hiroshi SHIBATA
b178929469
Fixed uninitialized constant Test::Unit::Assertions::MIN_MEASURABLE.
...
I'm not sure why it's failed under the chkbuild and rubyci.
20210911
T000007Z.fail.html.gz
2021-09-11 11:21:37 +09:00
Hiroshi SHIBATA
d05383812a
Replace Test::Assertion and Test::Skip to Test::Unit::AssertionFailedError and Test::Unit::PendedError
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
151a1cd45e
Fixed inconsistent require order for assertions and core_assertions
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
9b026ca39b
Integrate Minitest to Test
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
8ec187c091
Replace MiniTest::Unit to Test::Unit::Runner
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
48933a3409
Added default test-class for parallel tests
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
3e32412e08
Fixed broken runner for make test-all
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
7456cbdd09
Move test_order under the Test::Unit::TestCase
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
93c44c4ed2
Move constants under the TestCase
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
54d2d70629
Migrate MiniTest::Unit::TestCase class under the Test::Unit
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
1bec4f251d
Move MiniTest::Assertions to Test::Unit::Assertions
2021-09-11 08:48:03 +09:00
Koichi Sasada
28399e4e0f
respect --test-order=random
...
Now --test-order=random is simply ignored. This patch respect
this option.
2020-02-28 17:44:23 +09:00
Hiroshi SHIBATA
c3c0e3f5c9
Move to tool/lib from test/lib.
2019-07-02 07:59:54 +09:00