zowe / zowe-client-python-sdk

Eclipse Public License 2.0
36 stars 26 forks source link

[tests]: Make each unit test stand-alone #269

Open t1m0thyj opened 1 month ago

t1m0thyj commented 1 month ago

Is your feature or enhancement request related to a problem or limitation? Please describe

Currently, some of the unit tests in test_zowe_core.py that access the keyring cannot be run individually, because they rely on some setup to be done by an earlier test.

Describe your enhancement idea

Each test should perform all of the necessary setup.

Describe alternatives you've considered

Running all the tests in the file works, but may be less convenient.

Provide any additional context

An example of a test that currently fails when run standalone is test_profile_loading_exception - thanks @pem70

github-actions[bot] commented 1 month ago

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 5 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.