Conversation
|
Oh, be ware that your Allzpark preference will be cleaned when running test. |
Also avoid preference cleanup in tests.
|
Good initiative. :) Happy for you to take the lead and determine whether and when this is ready to merge. |
|
So I was trying to run tests in Azure pipielines, and bumped into a few problems. Leaving notes here. Ubuntu 16.04 can install pyside with Building PySide on MacOS takes long long time. Windows Python 2.7 somehow passed all the tests but still error out at the end (powershell return code
Although Vandorized Here's my ci history of all the testing commits. 😓 |
|
Setting this PR as "ready for review" for running tests. |
# Conflicts: # allzpark/cli.py
Sorry I meant to reply to this sooner! Yes, haha. I know exactly what you mean. The Qt.py project struggles with this too. I see you just dropped 2.7 support in testing, I think that's the way to go. There's no need to test this with every version of Python and Qt binding. Keep it simple; some tests in some form are better than none in any form. |
Totally ! |
|
Is it an error though? I suspect it's showing up just as Python is about to shutdown; from another error. |
Not sure.., but I see there are 4 dots before the line "QThread: Destroyed while thread is still running", and there are 5 tests, which means previous 4 all passed but the last one. So I guess it's because the fast exiting. 🤔 |
|
There's a verbose mode to tests (if it's using nose?) (which I really think should be default, but alas) to turn those dots into lines, with the name of each test on it an a FAIL or OK. That could help. |
|
Yap.. should have more info :( |
|
Hooray ! Refactored and |
|
Woho! Nice work :) |
|
Merging this ! |
Thought Allzpark could use some test cases for developing new features or implementing fixes, but honestly I don't have any experiences on writing test for GUI (this is my first time), also not sure about what should we test against to.
But I think we should have tests anyway, so maybe we could start from this draft ?
Any inputs are welcome. :)