-
Notifications
You must be signed in to change notification settings - Fork 25
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
Move code out of spec_helper #29
Comments
I'm not very deep into coverage internals yet. How is currently the coverage connection being managed? |
Currently one coverage reporter operates on a single connection alias. |
How does reporter know which connection alias to work on? |
Currently it's a bit dirty. |
OK, I see now PLSQL::Coverage.start(name) We're iterating over all connections and we're invoking the above for each connection alias name. I guess we can pass a list of connection names if we really need ability to work on a whole list. So.. What's your idea for refactoring? |
Hard to explain. I'll make changes in a branch and share.
|
If the connection management details would be moved from spec_helper into the library, so that the spec_helper is responsible for managing connections, then the coverage reporter could reference the connection list and perform operations on it.
Any cons of such refactoring?
The text was updated successfully, but these errors were encountered: