Updates:
Status: WontFix
Comment #1 on issue 837 by pekka.klarck: request for a new attribute for
(executed) test-cases / suites: fail-classification
http://code.google.com/p/robotframework/issues/detail?id=837
Sorry for not reacting for this issue sooner and sorry also for brutally
WontFixing it. I explain he reasoning behind this decision below so that
the numbers match the numbers you used in the description. This kind of
larger enhancement ideas are generally better sent to robotframework-users
so that they are open for wider discussion.
2) Robot already the concept of criticality that allows you to
separate "hard errors" from "warnings".
3) Test have tags that can be used as classifiers. You can easily add them,
you get statistics by them, and so on.
Tags can already now be modified dynamically using Set Tags and Remove Tags
keywords. When issue 177 is done, that can be done easily and transparently
using listeners.
4a) If you use tags as you classifiers, you get statistics for free.
4b) Instead of WARN you can use a non-critical failure.
4c) Currently the return code is the number of failed critical tests or
always 0 when --NoStatusRC option is used. We could potentially add new
command line option line --TotalFailStatusRC to return the number of all
failed tests but I'm not sure how useful that would be. You can also
already now parse more information related about statistics easily from the
produces XML output.