8000 TST: Use something to test the C-API · Issue #934 · metatensor/metatensor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TST: Use something to test the C-API #934
Open
@HaoZeke

Description

@HaoZeke

Currently the tests live a layer of abstraction away (e.g. via DataArrayBase in C++). I'm rather fond of cmocka.

Some nice features of cmocka:

  • C only
  • Surprisingly low boilerplate
  • Is easily available on conda
  • Used by a bunch of other projects (e.g. libssh)

xref: numpy/numpy#21304

Metadata

Metadata

Assignees

No one assigned

    Labels

    TestsRelated to the tests of the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0