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

Refactor self tests #244

Merged
merged 1 commit into from
Mar 23, 2024
Merged

Refactor self tests #244

merged 1 commit into from
Mar 23, 2024

Conversation

deathaxe
Copy link
Member

This commit...

  1. fixes sublime.package_path() called on import time, causing invalid or unexpected output paths being used.
  2. use setUp() and tearDow() methods to setup and cleanup packages used for self tests in a batch per TestCase in order to prevent or reduce risk of possible race conditions or failing API calls due to too frequent package reloading or removing events.
  3. optimize availability check for ColorSchemeUnit package

This commit...

1. fixes `sublime.package_path()` called on import time, causing invalid
   or unexpected output paths being used.
2. use `setUp()` and `tearDow()` methods to setup and cleanup packages
   used for self tests in a batch per `TestCase` in order to prevent or
   reduce risk of possible race conditions or failing API calls due to
   too frequent package reloading or removing events.
3. optimize availability check for ColorSchemeUnit package
@deathaxe deathaxe merged commit 73ccb32 into master Mar 23, 2024
15 checks passed
@deathaxe deathaxe deleted the feat/refactor-selftests branch March 23, 2024 15:01
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.

1 participant