Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Rename the 'tools' directory to 'tests'#1468

Locked
JohnVillalovos started this conversation inGeneral
Discussion options

To me it would make sense to rename thetools/ directory totests/.

At the moment there only appear to be the functional tests underneath thetools/ directory.

And then after that we could create:tests/unit/ in addition totests/functional/. Idea being to movegitlab/tests/ totests/unit/

Consolidate all the tests under the one directorytests/

Thoughts?

You must be logged in to vote

Replies: 2 comments

Comment options

Yes absolutely! :) That was also my intention a while ago, see#1024 that was never finished (this was pre-pytest even).

Just need to make sure thattests/unit is packaged along with it, as that's how some package maintainers test it (e.g. for rpm/deb distros), but probably nottests/functional as that has a lot more system dependencies.

However there's some quirks with pytest that might make asrc/gitlab layout a good idea, but I see now there's also an import fix for that, seehttps://docs.pytest.org/en/6.2.x/goodpractices.html?highlight=directory#choosing-a-test-layout-import-rules

You must be logged in to vote
0 replies
Comment options

JohnVillalovos
May 26, 2021
Maintainer Author

Thetools/ directory is now namedtests/ and the functional tests are now there. [1]

Next step (at some point) will be to move thegitlab/tests/ directory totests/unit/

[1] Commit:#1469

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@JohnVillalovos@nejch

[8]ページ先頭

©2009-2025 Movatter.jp