-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Make tests runnable on AppVeyor CI and environment-specific tests be skipped #298
Merged
vasily-v-ryabov
merged 40 commits into
enthought:master
from
junkmd:make_minimun_tests_runnable
Jun 9, 2022
Merged
Make tests runnable on AppVeyor CI and environment-specific tests be skipped #298
vasily-v-ryabov
merged 40 commits into
enthought:master
from
junkmd:make_minimun_tests_runnable
Jun 9, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This module causes the whole test suite to fail. Why? I don't know!
These tests take many minutes to run on my machines. This is too long for unit tests! They either need discarded or moved to some sort of integration testing suite that can be run outside of the unit test suite.
I don't understand what this was for, but the tests pass without it. That doesn't mean the tests are correct, but I don't understand the problem being solved by this removed line.
Need to figure out if that is a good idea or if there is an alternative way to test this functionalitty that does not require admin.
I'm not sure of the utility of these tests. 1. Dozens of them fail on my machine. 2. The tests that get run will vary from machine to machine because of the way the tests are built. 3. I think that maybe more tests the other libraries on the system rather than tests comtypes itself.
15+ years ago Thomas Heller created a test running system that could enable or disable all sorts of different tests based upon various strings in this array. We have better solutions for this nowadays which the test suite should evolve to use. For now we'll use the `*` to enable all tests in this bespoke test running system.
These need investigated in more detail.
Needs further investigation.
The L suffix doesn't matter for python2, but causes python3 to not parse the file.
Needs further investigation.
Both python2.7 and 3 support the b"x" format.
If this test is necessary we should introduce dev dependencies to comtypes.
Probably should move this to github issues once it's fleshed-out some.
Thanks for picking up the baton on this, @junkmd. I got too busy to troubleshoot the AppVeyor stuff. |
vasily-v-ryabov
added a commit
to vasily-v-ryabov/pywinauto
that referenced
this pull request
Jun 9, 2022
This was referenced Jun 10, 2022
Merged
This was referenced Nov 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
related to #267
This PR has taken over from #271 by @dmwyatt.
With this change, tests can run on AppVeyor CI(and perhaps on developer machines).
The goal of this PR as is @dmwyatt's comment,
Overview of changes
links to issue/PR comments.
Skips environment-specific tests
OSError: ... Invalid class string
test_leaks_x
ResourceDenied
comtypes/test/TestComServer.tlb
orcomtypes/test/TestDispServer.tlb
Fixes failed or warned tests
ResourceWarning