-
Notifications
You must be signed in to change notification settings - Fork 10
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
Exception: KeyError valid_status #190
Comments
Thanks for pointing it out. We will analyze it. Actually there are ideas to remove the feature from The same arguments hold for the "filter" feature, where the user can specify types, see Lines 120 to 124 in ee2c98a
It is not the concern of that tool to filter (or even understand) its inputs. We want to follow "separation of concerns" here, and lobster-report shall assume that the input has been well prepared. That is, it shall assume that all the *.lobster files coming from other tools represent exactly all the data for which the coverage shall be computed.
If some of the input requirements shall be filtered by status, that this is the concern of one of the earlier tools in the tool chain, for example
One idea is to provide a plugin mechanism where the user can then implement arbitrary constraints using Python. We haven't made a decision yet. The bug is related to #52. |
If the constraint `valid_status` is omitted in the configuration file of `lobster-report`, then no check is performed. Issue #190
If the constraint `valid_status` is omitted in the configuration file of `lobster-report`, then no status check is performed. Issue #190
If the constraint `valid_status` is omitted in the configuration file of `lobster-report`, then no status check is performed. Issue #190
If the constraint `valid_status` is omitted in the configuration file of `lobster-report`, then no status check is performed. Issue #190
If the constraint `valid_status` is omitted in the configuration file of `lobster-report`, then no check is performed. Issue #190
If valid_status is not available, this check will raise an exception.
lobster/lobster/items.py
Line 248 in 3887e3b
The text was updated successfully, but these errors were encountered: