Skip to content

Choosing a testing library for AbSolute #6

@ptal

Description

@ptal

AbSolute does not seem to have a test library/framework yet, and I would need one to make simple tests on the octagon abstract domain I'm developing.
Since I won't (shouldn't ? ;-)) be the only one to use it, I prefer to ask what is your preference.
After a quick look on the ones available in OPAM, my preference goes to ppx_inline_test for the following reasons:

  • Very easy to write tests (maybe the most important reason, otherwise we don't write them...).
  • Use OCaml syntax.
  • Tests can be written inside the source file, which has various advantages such as:
    • Serving as valuable documentation.
    • Easy access to private information of modules (for example to check invariants of internal data structures).
  • Developed and used by Jane Street. It is one of the most downloaded test framework and seem to be regularly updated.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions