1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

6 commits

Author SHA1 Message Date
Hiroshi SHIBATA
1fe2b7f41c Workaround for Minitest5 2020-05-08 07:38:50 +09:00
Koichi Sasada
6b30638bdb MiniTest::Unit.options has default :seed
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.
2020-02-27 04:06:28 +09:00
Koichi Sasada
14f1790807 srand($seed) at the beginning of each test
To avoid `srand(0)` effect in the other tests, call `srand($seed)`
at the beginning of each test (setup).
[Feature #16655]
2020-02-27 03:47:41 +09:00
Nobuyoshi Nakada
83fed5a4ed
Adjust minitest file path 2019-07-02 09:37:18 +09:00
Nobuyoshi Nakada
5aed62454c
Adjust minitest file path 2019-07-02 09:26:11 +09:00
Hiroshi SHIBATA
c68781e918 Split test files for test-framework that are test-unit and minitest to tool direcotry. 2019-07-02 07:59:54 +09:00