ksss
15eabcdbc4
Show error class name when raise Error
2014-03-31 08:14:14 +09:00
Yukihiro "Matz" Matsumoto
1b422befb1
revert 813ba5 since #1949 fixed
2014-03-26 17:53:22 +09:00
take_cheeze
813ba50bfb
Don't use ensure to fix crash of mruby-eval test.
2014-03-26 12:59:56 +09:00
Yukihiro "Matz" Matsumoto
4592862b0d
remove unnecessary operator method call; ref #1927
2014-03-24 09:17:09 +09:00
take_cheeze
db5d78e229
Count crashed tests in total tests count.
2014-03-24 03:22:17 +09:00
Jun Hiroe
d27dcbe9d2
Refactor assert_true
2014-03-16 23:26:29 +09:00
ksss
23680cb447
add assertion method `assert_nothing_raised'
2014-03-11 00:13:36 +09:00
fleuria
0a4010728a
make test/assert.rb cruby compatible
2013-11-16 14:22:15 +08:00
Daniel Bovensiepen
d5eab236e7
Fix assignment of block as actual value and not expected
2013-08-01 11:32:46 +08:00
Daniel Bovensiepen
d8c8893e94
Implement assert_float and add block mode to assert_equal and assert_not_equal
2013-06-15 02:10:05 +08:00
Daniel Bovensiepen
5915874e01
Add assert_not_include to test environment
2013-06-09 05:16:10 +08:00
Daniel Bovensiepen
2d696b26b6
Add assert_not_equal
2013-06-09 04:48:53 +08:00
Ryan Scott
0d4227ac04
Implemented ObjectSpace.count_objects to count the number of allocated objects for each type
2013-05-12 18:42:21 +10:00
Daniel Bovensiepen
520b0f73bf
Implement fallback print method for testing environment in case mruby-print GEM wasn't included.
2013-05-08 21:17:08 +08:00
Akira Yumiyama
c86d76141c
bugfix: assert_raise
2013-03-02 19:38:43 +09:00
Daniel Bovensiepen
81f96cb9af
Move Math::TOLERANCE to mruby-math
2013-02-28 15:20:46 +00:00
mattn
6819505586
Add skip method for test
2013-02-25 20:26:21 +09:00
Yukihiro Matz Matsumoto
a6767bd8bb
rename assert_raises to assert_raise
2013-02-25 12:28:38 +09:00
Yukihiro Matz Matsumoto
dbea1d2299
remove assert_instance_of and assert_kind_of which might hinder duck typing
2013-02-25 12:27:27 +09:00
Yukihiro Matz Matsumoto
cf358aea9f
rename assert_includes to assert_include
2013-02-25 12:26:27 +09:00
Akira Yumiyama
f8bdc10cb1
add assert_{includes,instance_of,kind_of,raises} methods.
2013-02-22 13:16:47 +09:00
Akira Yumiyama
f2c77ff212
add assert_{true,nil,equal} methods.
2013-02-18 12:32:26 +09:00
Akira Yumiyama
7c67bfedfd
add mrbtest verbose mode ('-v' option)
2013-02-09 16:24:39 +09:00
Yuichiro MASUI
280bad605e
Run mrbgems test run on isolate mrb_state each rb file.
...
Can access to current gem's name through GEMNAME from test.
Can change assert library each mrbgems. used spec.test_preload on mrbgem.rake.
assert library should set $ok_test, $ko_test, $kill_test, $asserts.
2013-01-07 02:58:36 +09:00
Yukihiro Matsumoto
34cf05679c
add Math::TOLERANCE
2012-08-01 01:12:09 +09:00
Daniel Bovensiepen
2ae84f7d83
Add execution time to tests
2012-06-21 16:00:04 +08:00
Masaki Muranaka
bddbf20785
Assert should handle all exceptions.
2012-06-13 09:41:30 +09:00
Yukihiro Matsumoto
501f7f6027
stop introducing Math::TORELANCE
2012-06-05 09:09:50 +09:00
Yukihiro Matsumoto
21bd5d7924
print description on exceptions
2012-05-21 10:39:29 +09:00
Daniel Bovensiepen
8bf21cdeae
Finish all Float ISO Tests
2012-05-19 02:21:26 +08:00
Paolo Bosetti
5760ad7d59
Minor edits in tests for Math module
2012-05-17 17:40:21 -07:00
Daniel Bovensiepen
dacecdb93c
Better indention of assert report
2012-05-16 10:18:27 -07:00
Daniel Bovensiepen
26c6031a53
Move assert lib for tests one directory up and add it always in the beginning
2012-05-16 16:07:55 +08:00