See <http://robot.radiaatto.ri.fi/hudson/job/RobotFrameworkJython/1469/changes>
Changes:
[Pekka Klärck] regen, again
[Pekka Klärck] UG: Documented how to create var files as Python/Java classes.
Also some other var file doc cleanup.
Update issue 1021
Status: Review
Now also docs are done and this issue only lacks review.
[Pekka Klärck] log: Don't show all levels with bold. I added that a little time
ago to make failures, errors and warnings more visible, but nowadays they have
separate bold style. After this change infos and lower won't have bold.
[Pekka Klärck] Implementation and tests for creating variable files as Python
or Java classes.
Update issue 1021
Implementation and tests done. The main remaining task is documenting this in
the User Guide but review would be nice too.
The only surprise that I encountered was that static variable files
implemented as Java classes automatically created variables like ${toString}.
The logic we use to ignore such methods when creating Java libs is
somewhat complicated so I decided to use a simpler solution and ignore
all attributes in instances that are callable. That ought to be good enough
solution but needs to be documented.
[Pekka Klärck] Listeners: let importer to instantiate listener classes now that
it has that capability
[Pekka Klärck] utils.importer: Allow instantiating imported classes
automatically.
Update issue 1021
Status: Started
Now importer that also variable imports use can instantiate classes
automatically. Next up is changing variable imports to use this functionality.
[Pekka Klärck] Fixed importing Java libraries in packages with
robotframework.jar and stand-alone Jython in general.
Update issue 1062
Status: Done
Labels: Type-Task Priority-High
I was able to reproduce the problem and also to fix it. My earlier importing
related fixes and clean-ups had broken the workaround we have for importing
Java classes in packages with stand-alone Jython. For more information
see issue 515 and http://bugs.jython.org/issue1778514.
The reason this bug had slipped through is that we don't have CI environment
for running tests with stand-alone Jython (or robotframework.jar that uses it
internally). Although we ought to have executed these tests at some point
before the final release, it was great that you spotted the bug already at this
point. The fix will be included in the next RF 2.7 preview release (b2 or rc1).
[Pekka Klärck] regen
------------------------------------------
[...truncated 6895 lines...]
------------------------------------------------------------------------------
Test Status Should Not Exist Outside Teardown | PASS |
------------------------------------------------------------------------------
Test Message Should Not Exist Outside Teardown | PASS |
------------------------------------------------------------------------------
Test Status When Test Fails | PASS |
------------------------------------------------------------------------------
Test Status When Setup Fails | PASS |
------------------------------------------------------------------------------
Previous Test Variables Should Have Correct Values When That Test ... | PASS |
------------------------------------------------------------------------------
Previous Test Variables Should Have Default Values From Previous S... | PASS |
------------------------------------------------------------------------------
Suite And Prev Test Variables Work Correctly In Setup | PASS |
------------------------------------------------------------------------------
Suite And Prev Test Variables Work Correctly In Teardown | PASS |
------------------------------------------------------------------------------
Suite Variables In Test | PASS |
------------------------------------------------------------------------------
Robot.Variables.Test And Suite Status Variables | PASS |
13 critical tests, 13 passed, 0 failed
13 tests total, 13 passed, 0 failed
==============================================================================
Robot.Variables.Variable File Implemented As Class
==============================================================================
Python Class | PASS |
------------------------------------------------------------------------------
Methods in Python Class Do Not Create Variables | PASS |
------------------------------------------------------------------------------
Dynamic Python Class | PASS |
------------------------------------------------------------------------------
Java Class | PASS |
------------------------------------------------------------------------------
Methods in Java Class Do Not Create Variables | PASS |
------------------------------------------------------------------------------
Dynamic Java Class | PASS |
------------------------------------------------------------------------------
Instantiating Fails | PASS |
------------------------------------------------------------------------------
Robot.Variables.Variable File Implemented As Class | PASS |
7 critical tests, 7 passed, 0 failed
7 tests total, 7 passed, 0 failed
==============================================================================
Robot.Variables.Variable Priorities :: Some of these tests are testing same...
==============================================================================
Individual CLI Variables Override All Other Variables | PASS |
------------------------------------------------------------------------------
Variable Files From CLI Override All Variables In Test Data | PASS |
------------------------------------------------------------------------------
When Multiple Variable Files Are Given From CLI The First One Has ... | PASS |
------------------------------------------------------------------------------
Variable Tables In test Case Files Override Variables From Resourc... | PASS |
------------------------------------------------------------------------------
Variable Tables In Resource Files Override Variables From Resource... | PASS |
------------------------------------------------------------------------------
When Multiple Resource Or Variable Files Are Imported The First On... | PASS |
------------------------------------------------------------------------------
Variables With Different Priorities Are Seen Also In User Keywords | PASS |
------------------------------------------------------------------------------
Variables Set During Test Execution Override All Variables In Thei... | PASS |
------------------------------------------------------------------------------
Robot.Variables.Variable Priorities :: Some of these tests are tes... | PASS |
8 critical tests, 8 passed, 0 failed
8 tests total, 8 passed, 0 failed
==============================================================================
Robot.Variables.Variable Scopes :: These tests are somewhat related to test...
==============================================================================
Variables Set In Test Case Are Seen By User Keywords | PASS |
------------------------------------------------------------------------------
Variables Set In One Test Are Not Visible In Another | PASS |
------------------------------------------------------------------------------
Variables Set In User Keyword Are Seen Only By Lower Level User Ke... | PASS |
------------------------------------------------------------------------------
Robot.Variables.Variable Scopes :: These tests are somewhat relate... | PASS |
3 critical tests, 3 passed, 0 failed
3 tests total, 3 passed, 0 failed
==============================================================================
Robot.Variables.Variable Table
==============================================================================
Scalar String | PASS |
------------------------------------------------------------------------------
Scalar Non-Strings | PASS |
------------------------------------------------------------------------------
Scalar String With Escapes | PASS |
------------------------------------------------------------------------------
Empty Scalar String | PASS |
------------------------------------------------------------------------------
Scalar List | PASS |
------------------------------------------------------------------------------
Scalar List With Non-Strings | PASS |
------------------------------------------------------------------------------
Scalar List With Escapes | PASS |
------------------------------------------------------------------------------
List With One Item | PASS |
------------------------------------------------------------------------------
List With Multiple Items | PASS |
------------------------------------------------------------------------------
List With Escapes | PASS |
------------------------------------------------------------------------------
List Created From List With Escapes | PASS |
------------------------------------------------------------------------------
List With No Items | PASS |
------------------------------------------------------------------------------
Scalar Variable Containing List Is Different Than List Variable | PASS |
------------------------------------------------------------------------------
Variable Names Are Case Insensitive | PASS |
------------------------------------------------------------------------------
Variable Names Are Space Insensitive | PASS |
------------------------------------------------------------------------------
Variable Names Are Underscore Insensitive | PASS |
------------------------------------------------------------------------------
Assign Mark With Scalar Variable | PASS |
------------------------------------------------------------------------------
Assign Mark With List Variable | PASS |
------------------------------------------------------------------------------
Robot.Variables.Variable Table | PASS |
18 critical tests, 18 passed, 0 failed
18 tests total, 18 passed, 0 failed
==============================================================================
Robot.Variables.Variables From Resource Files
==============================================================================
Scalar String | PASS |
------------------------------------------------------------------------------
Scalar Non-Strings | PASS |
------------------------------------------------------------------------------
Scalar String With Escapes | PASS |
------------------------------------------------------------------------------
Empty Scalar String | PASS |
------------------------------------------------------------------------------
Scalar List | PASS |
------------------------------------------------------------------------------
Scalar List With Non-Strings | PASS |
------------------------------------------------------------------------------
Scalar List With Escapes | PASS |
------------------------------------------------------------------------------
List with One Item | PASS |
------------------------------------------------------------------------------
List With Multiple Items | PASS |
------------------------------------------------------------------------------
List With Escapes | PASS |
------------------------------------------------------------------------------
List Created From List With Escapes | PASS |
------------------------------------------------------------------------------
List With No Items | PASS |
------------------------------------------------------------------------------
Scalar Variable Containing List Is Different Than List Variable | PASS |
------------------------------------------------------------------------------
Variable Names Are Case Insensitive | PASS |
------------------------------------------------------------------------------
Variable Names Are Space Insensitive | PASS |
------------------------------------------------------------------------------
Variable Names Are Underscore Insensitive | PASS |
------------------------------------------------------------------------------
Assign Mark With Scalar variable | PASS |
------------------------------------------------------------------------------
Assign Mark With List variable | PASS |
------------------------------------------------------------------------------
Robot.Variables.Variables From Resource Files | PASS |
18 critical tests, 18 passed, 0 failed
18 tests total, 18 passed, 0 failed
==============================================================================
Robot.Variables.Variables From Variable Files
==============================================================================
Scalar String | PASS |
------------------------------------------------------------------------------
Scalar Non-Strings | PASS |
------------------------------------------------------------------------------
Scalar String With Escapes | PASS |
------------------------------------------------------------------------------
Empty Scalar String | PASS |
------------------------------------------------------------------------------
Scalar List | PASS |
------------------------------------------------------------------------------
Scalar List With Non-Strings | PASS |
------------------------------------------------------------------------------
Scalar List With Escapes | PASS |
------------------------------------------------------------------------------
Scalar Object | PASS |
------------------------------------------------------------------------------
List with One Item | PASS |
------------------------------------------------------------------------------
List With Multiple Items | PASS |
------------------------------------------------------------------------------
List With Escapes | PASS |
------------------------------------------------------------------------------
List With No Items | PASS |
------------------------------------------------------------------------------
List With Objects | PASS |
------------------------------------------------------------------------------
Scalar Variable Containing List Is Different Than List Variable | PASS |
------------------------------------------------------------------------------
Variable Names Are Case Insensitive | PASS |
------------------------------------------------------------------------------
Variable Names Are Underscore Insensitive | PASS |
------------------------------------------------------------------------------
Robot.Variables.Variables From Variable Files | PASS |
16 critical tests, 16 passed, 0 failed
16 tests total, 16 passed, 0 failed
==============================================================================
Robot.Variables.Variables In Import Settings
==============================================================================
Variable Defined In Test Case File Is Used To Import Resources | PASS |
------------------------------------------------------------------------------
Robot.Variables.Variables In Import Settings | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Robot.Variables.Variables Inside Variables
==============================================================================
Variable Inside Variable In Variable Table | PASS |
------------------------------------------------------------------------------
Variable Inside Variable In Test Case | PASS |
------------------------------------------------------------------------------
Variable Inside Variable In User Keyword | PASS |
------------------------------------------------------------------------------
Variable Inside List Variable | PASS |
------------------------------------------------------------------------------
Variable Inside List Variable Index | PASS |
------------------------------------------------------------------------------
Variable Inside Variable And Extended Variable Syntax | PASS |
------------------------------------------------------------------------------
Non-Existing Variable Inside Variable | PASS |
------------------------------------------------------------------------------
Robot.Variables.Variables Inside Variables | PASS |
7 critical tests, 7 passed, 0 failed
7 tests total, 7 passed, 0 failed
==============================================================================
Robot.Variables | PASS |
172 critical tests, 172 passed, 0 failed
172 tests total, 172 passed, 0 failed
==============================================================================
Robot :: Robot Framework acceptance tests | FAIL |
2500 critical tests, 2499 passed, 1 failed
2527 tests total, 2499 passed, 28 failed
==============================================================================
Output:
<http://robot.radiaatto.ri.fi/hudson/job/RobotFrameworkJython/ws/atest/results/output.xml>
Log:
<http://robot.radiaatto.ri.fi/hudson/job/RobotFrameworkJython/ws/atest/results/log.html>
Report:
<http://robot.radiaatto.ri.fi/hudson/job/RobotFrameworkJython/ws/atest/results/report.html>
Build step 'Execute shell' marked build as failure
Robot results publisher started...
-Parsing output xml:
Done!
-Copying log files to build dir:
Done!
-Assigning results to build:
Done!
-Checking thresholds:
Done!
Done publishing Robot results.