Revision: 3685
Author: pekka.klarck
Date: Mon May 31 04:05:26 2010
Log: rc1 stuff
http://code.google.com/p/robotframework/source/detail?r=3685
Modified:
/wiki/ReleaseNotes25.wiki
=======================================
--- /wiki/ReleaseNotes25.wiki Wed May 12 07:51:28 2010
+++ /wiki/ReleaseNotes25.wiki Mon May 31 04:05:26 2010
@@ -43,7 +43,7 @@
* Raising a _fatal_ exception from a test library (issue 366)
* Using `Fatal Error` keyword (issue 546)
-== Support for name arguments ==
+== Support for named arguments ==
The named arguments syntax (issue 215) makes it possible to use keywords
that have several arguments with default values so that only certain
arguments are overridden.
For example, the keyword below could be used like `| Named Arg Example |
zap=42 |` and first two arguments would get their default values.
@@ -52,11 +52,40 @@
def named_arg_example(foo=1, bar=2, zap=3):
print foo, bar, zap
}}}
+
+== Possibility to specify test template to ease data-driven testing ==
+
+*NOTE:* This is a new feature in RF 2.5 rc 1.
+
+Test templates (issue 500) allow specifying the keyword to use in test
+cases only once. This makes data-driven testing, where the same
+keyword is executed with the same input and/or ouput values, easier
+and reduces duplication. An added benefit is that when a test has
+multiple steps, all of them will be executed even if one of the steps
+fails.
+
+This functionality can be enabled for all tests in a file with in the
+setting table with the setting `Test Template` or for individual tests
+with the setting `[Template]`. The example below illustrates the
+latter usage.
+
+{{{
+***Test Case***
+Invalid login
+ [Template] Login with invalid user name and password should fail
+ ${VALID USER} invalid password
+ invalid user ${VALID PASSWORD}
+ invalid user xxx
+ ${VALID USER} ${EMPTY}
+ ${EMPTY} ${VALID PASSWORD}
+ ${EMPTY} ${EMPTY}
+}}}
== Full Jython 2.5 support ==
Robot Framework 2.1.3 already works with Jython 2.5 but there were some
rough edges . Nowadays Jython 2.5 is fully and officially supported (issue
198), and even installation using it works (issue 547).
+
= Backwards incompatible changes =
== Minimum Python/Jython version is 2.5 ==
@@ -66,9 +95,14 @@
== Not compatible with previous RIDE and Mabot releases ==
-The internal changes in the framework have made it incompatible with the
latest RIDE and Mabot releases. Compatible versions of these important
supporting tools will be created as soon as the final 2.5 release is ready.
-
-*UPDATE:*
[http://code.google.com/p/robotframework-ride/wiki/ReleaseNotes#RIDE_0.23
RIDE 0.23] is compatible both with RF 2.1.3 and RF 2.5 alpha 1.
+The internal changes in the framework have made it incompatible with
+the previous [http://code.google.com/p/robotframework-ride RIDE] and
+[http://code.google.com/p/robotframework-mabot Mabot]
+releases.
+
+ * RF 2.5 alpha 1 is compatible with
[http://code.google.com/p/robotframework-ride/wiki/ReleaseNotes#RIDE_0.23
RIDE 0.23], which is also compatible with
[http://code.google.com/p/robotframework/wiki/ReleaseNotes21#Robot_Framework_2.1.3
RF 2.1.3].
+ * RF 2.5 rc 1 is currently not compatible with any RIDE release.
+ * No RF 2.5 preview release is compatible with Mabot.
== Other backwards incompatible changes ==