2 new revisions:
Revision: aec5600ce4b6
Branch: default
Author: Jussi Malinen <jussi.ao.mali...@gmail.com>
Date: Tue Sep 17 14:15:19 2013 UTC
Log: document ROBOT_SUPPRESS_NAME
http://code.google.com/p/robotframework/source/detail?r=aec5600ce4b6
Revision: e8126c2c4772
Branch: default
Author: Jussi Malinen <jussi.ao.mali...@gmail.com>
Date: Tue Sep 17 14:15:26 2013 UTC
Log: regen
http://code.google.com/p/robotframework/source/detail?r=e8126c2c4772
==============================================================================
Revision: aec5600ce4b6
Branch: default
Author: Jussi Malinen <jussi.ao.mali...@gmail.com>
Date: Tue Sep 17 14:15:19 2013 UTC
Log: document ROBOT_SUPPRESS_NAME
http://code.google.com/p/robotframework/source/detail?r=aec5600ce4b6
Modified:
/doc/userguide/src/ExtendingRobotFramework/CreatingTestLibraries.rst
=======================================
--- /doc/userguide/src/ExtendingRobotFramework/CreatingTestLibraries.rst
Mon Sep 16 11:04:19 2013 UTC
+++ /doc/userguide/src/ExtendingRobotFramework/CreatingTestLibraries.rst
Tue Sep 17 14:15:19 2013 UTC
@@ -893,8 +893,16 @@
example, :code:`AssertionError`, :code:`Exception`, and
:code:`RuntimeError`), only the exception message is used, and with
others, the message is created in the format :msg:`ExceptionType:
-Actual message`. In both cases, it is important for the users that the
-exception message is as informative as possible.
+Actual message`.
+
+Since Robot Framework 2.8.2 it is possible to add a special
+:code:`ROBOT_SUPPRESS_NAME` attribute with value :code:`True` to your
exception
+if you want to use some other exception type besides the generic
exceptions,
+but also to suppress adding the exception type as a prefix to failure
+message.
+
+In all cases, it is important for the users that the exception message is
as
+informative as possible.
HTML in error messages
``````````````````````
==============================================================================
Revision: e8126c2c4772
Branch: default
Author: Jussi Malinen <jussi.ao.mali...@gmail.com>
Date: Tue Sep 17 14:15:26 2013 UTC
Log: regen
http://code.google.com/p/robotframework/source/detail?r=e8126c2c4772
Modified:
/doc/userguide/RobotFrameworkUserGuide.html
=======================================
--- /doc/userguide/RobotFrameworkUserGuide.html Mon Sep 16 11:06:28 2013 UTC
+++ /doc/userguide/RobotFrameworkUserGuide.html Tue Sep 17 14:15:26 2013 UTC
@@ -12957,8 +12957,14 @@
example, <span class="code">AssertionError</span>, <span
class="code">Exception</span>, and
<span class="code">RuntimeError</span>), only the exception message is
used, and with
others, the message is created in the format <span
class="msg">ExceptionType:
-Actual message</span>. In both cases, it is important for the users that
the
-exception message is as informative as possible.</p>
+Actual message</span>.</p>
+<p>Since Robot Framework 2.8.2 it is possible to add a special
+<span class="code">ROBOT_SUPPRESS_NAME</span> attribute with value <span
class="code">True</span> to your exception
+if you want to use some other exception type besides the generic
exceptions,
+but also to suppress adding the exception type as a prefix to failure
+message.</p>
+<p>In all cases, it is important for the users that the exception message
is as
+informative as possible.</p>
<div class="section" id="html-in-error-messages">
<h5>HTML in error messages</h5>
<p>Starting from Robot Framework 2.8 it is also possible have HTML
formatted
@@ -17152,7 +17158,7 @@
<div class="footer">
<hr class="footer" />
<p>Generated by <a class="reference external"
href="http://docutils.sourceforge.net/rst.html">reStructuredText</a>.
Syntax highlighting by <a class="reference external"
href="http://pygments.org/">Pygments</a>.</p>
-<p>Generated on: 2013-09-16 11:06 UTC.
+<p>Generated on: 2013-09-17 14:14 UTC.
</p>
</div>
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.