jQAssistant / jqassistant

Your Software. Your Structures. Your Rules.
https://jqassistant.org/
GNU General Public License v3.0
198 stars 35 forks source link

Allow a user to disable the verification of a rule #421

Open obfischer opened 4 years ago

obfischer commented 4 years ago

As a user of jQA, I would like to be able to disable the result verification of a concept, so that I am able to apply a concept even if the result set to which the concept is to be applied is empty.

obfischer commented 4 years ago

Could be done by introducing a verification method none. With this verification method a concept should be always concidered as successful even it wasn't applied to any element in the database.

To achive this behaviour currently, it is required to tweak the used Cypher statement in such a way, that it returns always at leat one row. Or to specify that the verification will be done via row count with a minimal required row count of zero.

Implementing this feature request would ease writing of such rules and improve their readability.