@Tie_Cheng wrote:
Hello,
I want to install and test this code: https://github.com/astahfrom/prettiest.
After downloading the source code, I did 1)
dune upgrade
, 2) replaced~cmp
by~compare
in one place, 3) removedquick
fromtest/dune
because ofdeprecated: Gen.recursive
.Then,
dune runtest
did not generate any files or errors. I modified values inside “[%expect {| … |}]”, it did not raise any error either. Here istest/dune
:(library (name prettiest_tests) (modules sexpr pretty_type) (library_flags -linkall) (libraries core prettiest) (preprocess (pps ppx_jane))) (executable (name runner) (modules runner) (libraries prettiest_tests ppx_expect.evaluator ppx_inline_test.runner.lib)) (alias (name runtest) (deps (:< runner.exe)) (action (chdir %{workspace_root} (run %{<} inline-test-runner prettiest_tests))))
Does anyone know how to make the tests run?
Posts: 6
Participants: 2