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

Add unittest test suites #35

Open
whaleygeek opened this issue Dec 13, 2020 · 3 comments
Open

Add unittest test suites #35

whaleygeek opened this issue Dec 13, 2020 · 3 comments

Comments

@whaleygeek
Copy link
Owner

There is some possible issue with importing, that breaks unittest discover mode, that I need to investigate.

I will probably write some unittest suites for the newarch work, and that will flush out this problem.

This might also be related: #22

@mytechnotalent
Copy link

Thanks @whaleygeek I will keep an eye out for updates.

@whaleygeek
Copy link
Owner Author

I have a single unit test working

40eff7c

Note that if I do this
python3 -m unittest discover

It runs my test but there are two errors, and a similar dump to yours.

if I do this instead, it works fine

python3 tests.py

NOTE:The added extract_ut_args() allows you to run selective tests

python3 tests.py TestButton.test_ButtonA

@mytechnotalent
Copy link

@whaleygeek I am able to get my unittests to pass however when running the python3 -m unittest discover those two of yours are failing. It is not a blocker by any means however would be great if we could get them working.

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

No branches or pull requests

2 participants