Skip to content

Commit 73dc256

Browse files
committed
Fixes to RF 2.9 release notes after proofreading
1 parent e759b33 commit 73dc256

File tree

1 file changed

+25
-27
lines changed

1 file changed

+25
-27
lines changed

doc/releasenotes/rf-2.9.rst

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Source distribution and Windows installers are available at `PyPI
2121
with Jython 2.7 at `Maven central
2222
<http://search.maven.org/#search%7Cga%7C1%7Ca%3Arobotframework>`_.
2323

24-
If you have pip installed, just run `pip install --upgrade robotframework`
25-
to install or upgrade to the latest version or use
26-
`pip install robotframework==2.9` to install exactly this version. For more
27-
details and other installation approaches, see `installation instructions
28-
<../../INSTALL.rst>`_.
24+
If you have `pip <http://pip-installer.org>`_ installed, just run
25+
`pip install --upgrade robotframework` to install or upgrade to the latest
26+
version or use `pip install robotframework==2.9` to install exactly this
27+
version. For more details and other installation approaches, see
28+
`installation instructions <../../INSTALL.rst>`_.
2929

3030
Robot Framework 2.9 was released on Friday July 31, 2015.
3131

@@ -39,9 +39,9 @@ Compatibility with other projects
3939
Robot Framework 2.9 should, for most parts, be compatible with other projects
4040
in the larger Robot Framework ecosystem. It may, however, take some time before
4141
tools support new syntax like dictionary variables and keyword tags.
42-
Additionally, big internal changes may affect tools that have used the internal
43-
APIs. Libraries and tools know not to be compatible with Robot Framework 2.9
44-
will be listed here.
42+
Additionally, big internal changes may affect libraries and tools that have
43+
used the internal APIs. Libraries and tools know not to be compatible with
44+
Robot Framework 2.9 will be listed here.
4545

4646
- RIDE 1.4 and older are not compatible with new syntax added in Robot
4747
Framework 2.9. Updated version is to be released shortly.
@@ -63,9 +63,6 @@ will be listed here.
6363
Most important enhancements
6464
===========================
6565

66-
Most important enhancements
67-
===========================
68-
6966
Dictionary variable type
7067
------------------------
7168

@@ -158,9 +155,10 @@ of documentation.
158155
... Tags: tag1, tag2
159156
No Operation
160157
161-
Library keywords can also use documentation to specify their tags or they can
162-
be added to `robot_tags`attribute for each method. The `keyword` decorator
163-
provides a handy shortcut for specifying tags for each method.
158+
Library keywords can also use the last line of their documentation to specify
159+
tag. Alternatively the method or function implementing a keyword can itself
160+
have `robot_tags` attribute that contains a list of tags. The `keyword`
161+
decorator provides a handy shortcut to set `robot_tags` attribute:
164162

165163
.. code:: python
166164
@@ -181,7 +179,7 @@ It is now possible to specify modifiers to pre-process the test data before
181179
the test run and to modify the results before generation of log and report.
182180
The modifiers can be taken into use with `--prerunmodifier` and
183181
`--prerebotmodifier`. See the issue `#1976`_ and the `User Guide`_ for examples
184-
and more details.
182+
and more details about these very powerful new extension APIs.
185183

186184
Lighter and more neutral colors for logs and reports
187185
----------------------------------------------------
@@ -224,12 +222,12 @@ New for loop syntax allows use of for-in-zip and for-in-enumerate loops
224222
.. code:: robotframework
225223
226224
*** Keywords ***
227-
For in zip example # take elements from both lists
228-
:FOR ${number} ${name} IN ZIP ${NUMBERS} ${NAMES}
229-
\ Number Should Be Named ${number} ${name}
230-
For in enumerate example # take an item and an increasing index number
231-
:FOR ${index} ${item} IN ENUMERATE @{LIST}
232-
\ My Keyword ${index} ${item}
225+
For in zip example # take elements from both lists
226+
:FOR ${number} ${name} IN ZIP ${NUMBERS} ${NAMES}
227+
\ Number Should Be Named ${number} ${name}
228+
For in enumerate example # take an item and an increasing index number
229+
:FOR ${index} ${item} IN ENUMERATE @{LIST}
230+
\ My Keyword ${index} ${item}
233231
234232
See the `User Guide`_ for more details and examples.
235233

@@ -340,8 +338,8 @@ module search path (`#2019`_). If it is needed, `PYTHONPATH`, `JYTHONPATH`
340338
or `IRONPYTHONPATH` environment variable can be explicitly set to `.` before
341339
execution.
342340

343-
Standard libraries not importable in Python without the `robot.libraries` prefix
344-
--------------------------------------------------------------------------------
341+
Standard libraries not importable in Python without `robot.libraries` prefix
342+
----------------------------------------------------------------------------
345343

346344
It used to be possible to import Robot Framework's standard libraries in Python
347345
code by just using the library name like `import DateTime`. This caused
@@ -393,13 +391,13 @@ issues for more details if you think you may be affected.
393391
- Possibility to set scalar variables with lists value using
394392
`Set Test/Suite/Global Variable` keyword removed (`#1919`_)
395393
- Variable assignment is not anymore part of the keyword name in logs, in
396-
listener interface, or when using --removekeywords (`#1611`_)
394+
listener interface, or when using `--removekeywords` (`#1611`_)
397395
- Deprecated syntax for repeating single keyword removed (`#1775`_)
398396
- Deprecated `--runmode` option removed (`#1923`_)
399397
- Deprecated `--xunitfile` option removed in favor of `--xunit` (`#1925`_)
400398
- Deprecated way to exit for loops using custom exception with
401399
`ROBOT_EXIT_FOR_LOOP` attribute has been removed (`#1440`_)
402-
- Run Keyword If Test (Failed / Passed) detects failures also in teardown
400+
- `Run Keyword If Test (Failed / Passed)` detects failures also in teardown
403401
(`#1270`_)
404402
- DateTime: DST fixes when calculating with dates (`#2018`_)
405403
- `FAIL` is no longer usable as a normal log level (`#2016`_)
@@ -451,8 +449,8 @@ release!
451449
- Jean-Charles Deville (@jcdevil) made variable errors not exit `runner
452450
keywords` (`#1869`_).
453451
- Guy Kisel (@guykisel) wrote the initial contribution guidelines (`#1805`_).
454-
- Laurent Bristiel (@laurentbristiel) converted examples in User Guide to plain
455-
text format (`#1972`_).
452+
- Laurent Bristiel (@laurentbristiel) converted examples in `User Guide`_ to
453+
plain text format (`#1972`_).
456454

457455
Full list of fixes and enhancements
458456
===================================

0 commit comments

Comments
 (0)