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

Restore testing #30

Closed
wants to merge 7 commits into from
Closed

Conversation

forsberg
Copy link
Contributor

A lot of test classes are named test_*, which makes pytest not find them by default

Description

After the change in how tests are run, only 440 tests are found, instead of 1973 tests found when robinhood/faust runs their test suite.

Main reason for this is that a lot of the test classes are named test_* and therefore are not automatically discovered by pytest.

This PR restores discovery. Unfortunately a bunch of tests fails on the current codebase..

@forsberg
Copy link
Contributor Author

@patkivikram @marcosschroh - I assume the non-discovery of 1533 of the tests was by accident, not on purpose?

I don't quite feel I know enough about aiokafka to fix all those failures. Some of them seem related to transaction support, which was something that was recently remade, right?

So, eh, I'm leaving this one here as an unwelcome gift right before the weekend. Sorry! :-)

@forsberg forsberg force-pushed the restore-tests branch 2 times, most recently from 76c83ae to 908b2c3 Compare November 18, 2020 09:38
A lot of test classes are named test_*, which makes pytest *not* find them by default
@max-k
Copy link
Contributor

max-k commented Dec 21, 2020

We have to fix it urgently because it's a huge regression regarding original project.
I'll try to help.

@taybin taybin mentioned this pull request Apr 29, 2021
@taybin
Copy link
Contributor

taybin commented Apr 29, 2021

I've updated @forsberg's branch with the latest master and created a new PR #141 for it.

@taybin
Copy link
Contributor

taybin commented May 6, 2021

Because #141 was merged in, this can be closed.

@forsberg
Copy link
Contributor Author

MAJOR THANKS @taybin !!! - Closing this one.

@forsberg forsberg closed this May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants