nasser / magic

Morgan And Grand Iron Clojure
http://nas.sr/magic/
365 stars 18 forks source link

Pass the Clojure test suite #146

Closed nasser closed 4 years ago

nasser commented 4 years ago

MAGIC should pass the Clojure test suite

nasser commented 4 years ago

As of tonight

Ran 407 tests containing 6763 assertions.
73 failures, 34 errors.
{:test 407, :pass 6656, :fail 73, :error 34, :type :summary}
nasser commented 4 years ago

Got clojure.test-clojure.control and clojure.test-clojure.data-structures passing. Not sure why the passing number changed, I hope the patches didn't break anything.

Ran 407 tests containing 6536 assertions.
42 failures, 70 errors.
{:test 407, :pass 6424, :fail 42, :error 70, :type :summary}
nasser commented 4 years ago

Fixed some regressions. Some test namespaces (e.g. multimethods) cannot be run more than once, it seems, because they define things into their own namespace and violate the assumption that some assertions make...

Ran 407 tests containing 6778 assertions.
72 failures, 30 errors.
{:test 407, :pass 6676, :fail 72, :error 30, :type :summary}
nasser commented 4 years ago
Ran 399 tests containing 7895 assertions.
21 failures, 10 errors.
{:test 399, :pass 7867, :fail 18, :error 10, :type :summary}

A few regressions, but the suite is more or less passing except for protocols.

nasser commented 4 years ago

All tests observed to pass as of last night. The error message tests are skipped for now because they're somewhat obnoxious and our error reporting story needs an overhaul anyway.

Ran 397 tests containing 7873 assertions.
0 failures, 0 errors.
{:test 397, :pass 7873, :fail 0, :error 0, :type :summary}