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

prohibit to call getDriver() as a static class member #23

Open
vdelendik opened this issue Dec 8, 2021 · 1 comment
Open

prohibit to call getDriver() as a static class member #23

vdelendik opened this issue Dec 8, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@vdelendik
Copy link
Contributor

we should identify that CarinaListener is loaded or not and allow to use IDriverPool methods only after this.
The most common problem is declaring driver = getDriver() as static class member which is executed on compilation phase when carina is not loaded yet.
as result we ignore all kind of properties etc. let's find a way to raise explicit business exception in case of any attempt to reuse IDriverPool in such way

@vdelendik vdelendik added the enhancement New feature or request label Dec 8, 2021
@vdelendik
Copy link
Contributor Author

too major update... moved to the next generation

@akamarouski akamarouski transferred this issue from zebrunner/carina Mar 15, 2023
@akamarouski akamarouski added this to the 1.3.x milestone Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants