vincent-hugot / qtest

Inline (Unit) Tests for OCaml
GNU General Public License v3.0
67 stars 8 forks source link

discuss: rely more on OUnit #36

Open c-cube opened 8 years ago

c-cube commented 8 years ago

I just discovered that OUnit provides a lot of modules for logging, running tests, exporting results. I think it would be good to rely as much as possible on it to run tests (while preserving by default the current look-and-feel of running lots of tests), in particular because exporting results to HTML or Junit-formatted xml is nice!

vincent-hugot commented 8 years ago

So long as no functionality is lost to fit the OUnit mold, I see no downside to that move, as we already depend on OUnit anyway. Might as well put that dependency to good use.

c-cube commented 8 years ago

Ok, good. I think the current runner (which is nice to use when one has many tests) can be implemented on top of a OUnit runner. I will investigate.