Revision: 893df47eaa0c
Branch:   default
Author:   Anssi Syrjäsalo
Date:     Mon Jun 10 08:13:04 2013
Log:      Notes about --runmode
http://code.google.com/p/robotframework/source/detail?r=893df47eaa0c&repo=wiki

Modified:
 /ReleaseNotes28.wiki

=======================================
--- /ReleaseNotes28.wiki        Mon Jun 10 01:40:34 2013
+++ /ReleaseNotes28.wiki        Mon Jun 10 08:13:04 2013
@@ -63,22 +63,22 @@
 === New control keywords in BuiltIn test library ===

A few keywords were requested, so they are now available in !BuiltInLibrary.
-All these keywords have the conditional versions as well.
+All of these keywords have the conditional versions as well.

- * `Pass Execution` / `Pass Execution If`, which make the test pass immediately and prevent executing any further steps in the test. + * `Pass Execution` / `Pass Execution If`, which make the test pass immediately and prevent executing any further steps of the test.

- * `Return From Keyword` / `Return From Keyword If`, which, as the name implies, returns the control to the calling keyword with the specified return values. + * `Return From Keyword` / `Return From Keyword If`, which returns the control to the calling keyword with the specified return values.

-Also, the following keywords are introduced as improvements to FOR loop handling: +Also, the following keywords are introduced as improvements to the for loops:

- * `Continue For Loop` / `Continue For Loop If`, which act similarly as `continue` inside a for loop in most programming languages. + * `Continue For Loop` / `Continue For Loop If`, which are equal to `continue` in popular programming languages.

- * `Exit For Loop` / `Exit For Loop If`, which act similarly as `break` inside a for loop in most programming languages. + * `Exit For Loop` / `Exit For Loop If`, which are equal to `break` in popular programming languages.

 === Named arguments with dynamic libraries ===

-Named arguments can now be used with dynamic libraries (e.g. !SwingLibrary)
-and they also work when the library is brought into use with `Import Library`
+Named arguments can be used now with dynamic libraries (e.g. !SwingLibrary)
+and they also work when library is brought into use using `Import Library`
 keyword.

 === Support for Python's keyword arguments ===
@@ -99,13 +99,18 @@

 Variable `conf` will contain dictionary `{'cwd': '/tmp'}`.

-  See Issue 1383 for details.
-
 === Variable table improvements ===

-It's now possible to use imported variables in the variable table.
+It is now possible to use imported variables in the variable table.

-See Issue 561 for details.
+=== Own command line options for run modes ===
+
+New, handier command line options are introduced (in favor of `--runmode`):
+
+  * `--dryrun`, equal to `--runmode dryrun`
+  * `--randomize none/tests/suites/all`, equal to `--runmode Random:<what>`
+  * `--exitonfailure`, equal to `--runmode exitonfailure`
+  * `--skipteardownonexit`, equal to `runmode skipteardownonexit`

 == Backwards incompatible changes  ==

@@ -122,13 +127,14 @@
 ===  Named arguments changes ===

 All arguments can be named now, not just the arguments with default values.
-Also, if a positional argument is used after named arguments,
-this now results to a clear error.
+
+Also, if a positional argument is used after named arguments, this now
+results to a clear error.

 === Scalar variables with list values ===

-Creating scalar variables with list values in variable table is not allowed
-anymore. This was deprecated in Robot Framework 2.5.
+Defining a scalar variable with a list as its value is not allowed in
+the variable table anymore. This was deprecated in Robot Framework 2.5.

 If there still is data that uses this functionality, updating it is nearly
 trivial. All that is needed is changing `$` to `@` in the variable name in
@@ -136,15 +142,16 @@

 === Using __init__ files as resources ===

-Using __init__ files as resources is not allowed anymore. Previously this
-triggered an error message.
+Using `__init__` files as resources is not allowed anymore. Previously this
+resulted an error message.

 === Changes to report generation ===

-A report is now generated by default, even if the generation of output.xml is -disabled (by defining `--output NONE` on command line). Also, report and XUnit -are now generated without first reading output XML, which also speeds up the
-generation.
+A report is now generated by default, even if the generation of output XML is
+disabled (by defining `--output NONE` on command line).
+
+Also, report and XUnit are now generated without first reading output XML,
+which also speeds up the generation.

 === Empty timeout attributes in output XML ===

@@ -164,7 +171,7 @@

 This includes options `--reportbackground`, `--tagstatlink` and
 `--suitestatlevel`, all of which previously triggered a warning and
-continued by using the option default value when an invalid value was given.
+proceeded using the option default value if an invalid value was given.

 == Deprecated features ==

@@ -172,14 +179,14 @@

 Using `ROBOT_EXIT_FOR_LOOP` is now deprecated.

-Exiting for loop is now implemented using a dedicated exception, `ExitForLoop`,
+Exiting for loop is now implemented using a dedicated exception,
 instead of setting `ROBOT_EXIT_FOR_LOOP` attribute in !BuiltInLibrary.

 === Command line option --runmode is now deprecated ===

 Command line option `--runmode` is now deprecated.

-Please use new, individual command line options `--dryrun`, `--randomize`,
+Please use the new, individual command line options `--dryrun`, `--randomize`,
 `--exitonfailure` and `--skipteardownonexit` instead.

 == Full list of fixes and enhancements in 2.8 ==

--

--- 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.


Reply via email to