jobjo/popper

Transform the Popper.test to Alcotest.test

vch9 opened this issue · 1 comments

vch9 commented

I believe it could be a good thing for Popper to transform an Popper.test to Alcotest.test.

From what your runner looks like they're both similar, but in a large-scale project it can be
good to reduce the number of test runners.

QCheck does it here, and we do use that function for uniformity of tests in Tezos.

I also understand that your library intends to be a unit test and property based test library. Reducing the need
to use Alcotest in a test suite at all.

Edit: this could be a discussion instead of a issue actually

jobjo commented

Hi, I agree that would be nice and I will take a look.

I also understand that your library intends to be a unit test and property based test library. Reducing the need
to use Alcotest in a test suite at all.

Yes, the reason I went down this path is because I wanted more control of the output and also support some features not available in Alcotest, such as recording and displaying timing information, logging sampled values and nesting test suites.

I would also like to open up this API so that it's possible to lift, say CCheck tests to Popper.