Fork me on GitHub
#portal
<
2022-05-04
>
Luke Johnson23:05:36

I tried wiring up the Portal test runner. And it works quite well with standard test namespaces! Thanks for an awesome addition! I discovered that Portal doesn’t parse defspec (used for property tests) correctly. There’s additional special data that Portal can’t parse:

{:clojure.test.check.clojure-test/trial [1 10],
 :type :clojure.test.check.clojure-test/trial,
 :clojure.test.check.clojure-test/property
 {:gen #function[clojure.test.check.generators/gen-fmap/fn--26068]}}

👍 1
djblue03:05:23

Interesting :thinking_face: What would be a meaningful way to render this information? Or should it be suppressed?

Luke Johnson03:05:00

I'll think about it before giving my opinion. But as it is now, instead of one namespace tap it's all the info broken up. I'll post a screenshot tomorrow.

djblue03:05:44

A quick work around for now would be to filter them out manually 👌

djblue03:05:07

I started on a https://github.com/djblue/portal/pull/123, still needs a little work