[QUESTION] Can testcases be excluded from analysis based on tags ? (just like with robot and rebot)
Please describe. According to https://robotcode.io/03_reference/cli#code I cannot filter by tag for the analysis. I think it would be great, if filtering before analysis could also be based on tags, just like robot and rebot with something linke "--exclude"... That way, if I tag a test case with "wip" (work in progress) for example, it will be excluded from the analysis.. (since it isproperly not fully working yet...)
Desktop (please complete the following information):
no, this is not possible at the moment. Will you create an enhancement issue for that?
Alright, I’m going to close this for now. If you have a particular use case for a feature like this, feel free to open an enhancement request.
maybe this is interesting for you: https://robotcode.io/03_reference/diagnostics-modifiers
Hej hej,
thanks for mentioning diagnostic mdifiers.. I will look into it, but from a first glimps, it seems, that they are more aimed at modifying certain lines in terms of diagnostics.. meaning, that I would have to attach those to specific lines first, i.e. during development of a test, and than later remove them, when the test is not under development anymore....
I will create an enhancement issue, since, what I'm looking for, is rather an option to just omit for example all tests tagged with "wip" (work-in-progress) from analysis in general... Independent of the rules... My use case ist as follows:
- 5 people working on test cases for a spcific product
- during day-to-day work, some tests are reworked or added and are not in a runable state, but should still be commited... Other might continue that work later or the testcase serve as providers of snippets, etc.... this might be handled by git branches and stuff like that, but we usually prefer to have them availble in the repo but marked as "wip" (or "not running")...
- when running tests from a pipeline, we ususally run an analysis first and add the results tothe reports, but exclude "wip" testcases from the execution... but we cannot exclude them from the analysis (yet)....
Thanks !
Cheers Niels Göran
Enahncement issue created #550
thanks!!!