Description
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.