Skip to content

Systematic testing #2658

Open
Open
@AntoinePrv

Description

@AntoinePrv

Tests typically use the xt::xarray, sometimes xt::xtensor, but it turns there are some subtle differences between all available containers/expressions/views that leads to error when switching one for another.

A few issues have been caught only when reported by users, who then have to wait for another release to get the fix. For instance

Tests should be refactor and templated to systematically run with all

  • xt::xtensor_fixed
  • xt::xtensor
  • xt::xarray
  • A view
  • An expression
  • 1D, ND
  • The Python equivalent
  • The R equivalent
  • The Julia equivalent

Since this may generate a lot of tests, we would need to have strategy to not run/compile all of them at the same time (perhaps that would be only in CI, in parallel).

I am unsure if testing with project in other repositories (language bindings) should be done here or there.
Depending if the fix needs to be in xtensor or in the other repository, there will always be a case or PR deadlock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions