Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: Making tests directory structure simpler #2351

Merged
merged 5 commits into from
Sep 4, 2020
Merged

TST: Making tests directory structure simpler #2351

merged 5 commits into from
Sep 4, 2020

Conversation

datapythonista
Copy link
Contributor

There are currently many directories with tests. Since backend tests directories need to skipped when their container is not loaded, this means that we can't simply call pytest ibis/. Which means that we need to call pytest ibis/tests ibis/expr/tests ibis/sql/tests.... This is a bit complex, both in the CI and locally. Grouping all the tests in a single directory seems to make more sense, so pytest ibis/tests can be used.

Same happens with backend tests, that some times are split in more than one directory.

This PR simplifies the structure. Ideally, at some point we'd like to have a more consistent and uniform backend structure (see #2336), which will simplify this further.

@datapythonista datapythonista added refactor Issues or PRs related to refactoring the codebase tests Issues or PRs related to tests ci Continuous Integration issues or PRs labels Sep 3, 2020
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine, can you add a note in the release as well. rebase as well.

@jreback jreback added this to the Next Bugfix Release milestone Sep 4, 2020
@jreback jreback merged commit 48095cc into ibis-project:master Sep 4, 2020
@jreback
Copy link
Contributor

jreback commented Sep 4, 2020

thanks @datapythonista

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration issues or PRs refactor Issues or PRs related to refactoring the codebase tests Issues or PRs related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants