Skip to content

Testing multiple interfaces #72

@ivan-pi

Description

@ivan-pi

Currently, MINPACK exports 3 API's:

  • the original Fortran API
  • the C API
  • the Python API

There are some minimal tests for each of the API's and a big messy collection of Fortran test functions.

Clearly, some minimal tests for each of the different interfaces are needed in order to test the correctness of the binding, with respect to argument passing, types, side-effects, etc. For the actual algorithms in Fortran however, it doesn't matter in which languages / interface the tests are written.

Does it make sense to write the algorithm tests (#10, #35) in Python?

This would test all three interfaces simultaneously. It also has the advantage of faster development due to dynamic typing, simpler output formatting, and other high-level properties of Python. Moreover the larger Python community could support us with their CI/CD knowledge, e.g. from SciPy and other big Python libraries.

cc @awvwgk @ilayn @certik

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedtests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions