See <http://robot.radiaatto.ri.fi/job/RobotFramework-Python-27/125/changes>
Changes: [Pekka Klärck] regen [Pekka Klärck] UG: Enhanced documentation of using list vars as scalars and scalars as list. Update issue 483 Did some enhancements to documentation: - Separated using list vars as scalars and scalars as lists into separate sections and moved them away under List variables section. - Enhanced docs of both of the new sections. - Added a note to extended variable syntax that @{EXTENTED.attribute} works. - Added a note to for loops that iterating over items in a scalar list works by using the scalar as a list. [Pekka Klärck] UG: Cleanup to variables, mainly to extended vars. [Pekka Klärck] UG: Little cleanup to for loop docs. [Pekka Klärck] list vars as scalars tests: better suite name and little cleanup [Pekka Klärck] Enhancements/fixes for using scalar vars as lists. Update issue 483 Fixed some problems in the original implementation: 1) Added support for extended variable syntax. For example, '@{EXTENDED.list}' now works if '${EXTENDED}' exists and contains 'list' attribute with a list value. 2) Error when using a scalar variable containing non-list (e.g. '@{TESTNAME}') is reported separately, not with normal "Non-existing variable ..." error. Also fixed some issues with tests: 3) Moved them from core top level suite to variables. 4) Removed tests not related to using scalars as lists (tested elsewhere in variables suite) and renamed suite accordingly. 5) Changed extension from *.robot to *.txt. ------------------------------------------ [...truncated 8197 lines...] Scalar Variable As List With Extended Syntax | [32mPASS [0m | ------------------------------------------------------------------------------ Non-alphanumeric characters in name | [32mPASS [0m | ------------------------------------------------------------------------------ String Cannot Be Used As List Variable | [32mPASS [0m | ------------------------------------------------------------------------------ Non-Iterables Cannot Be Used As List Variable | [32mPASS [0m | ------------------------------------------------------------------------------ Robot.Variables.Scalar As List | [32mPASS [0m | 6 critical tests, 6 passed, 0 failed 6 tests total, 6 passed, 0 failed ============================================================================== Robot.Variables.Suite Source ============================================================================== ${SUITE SOURCE} in dir suite | [32mPASS [0m | ------------------------------------------------------------------------------ ${SUITE SOURCE} in file suite | [32mPASS [0m | ------------------------------------------------------------------------------ ${SUITE SOURCE} in user keyword | [32mPASS [0m | ------------------------------------------------------------------------------ ${SUITE SOURCE} in resource file | [32mPASS [0m | ------------------------------------------------------------------------------ Robot.Variables.Suite Source | [32mPASS [0m | 4 critical tests, 4 passed, 0 failed 4 tests total, 4 passed, 0 failed ============================================================================== Robot.Variables.Variable File Implemented As Class ============================================================================== Python Class | [32mPASS [0m | ------------------------------------------------------------------------------ Methods in Python Class Do Not Create Variables | [32mPASS [0m | ------------------------------------------------------------------------------ Properties in Python Class | [32mPASS [0m | ------------------------------------------------------------------------------ Dynamic Python Class | [32mPASS [0m | ------------------------------------------------------------------------------ Instantiating Fails | [32mPASS [0m | ------------------------------------------------------------------------------ Robot.Variables.Variable File Implemented As Class | [32mPASS [0m | 5 critical tests, 5 passed, 0 failed 5 tests total, 5 passed, 0 failed ============================================================================== Robot.Variables.Variable Priorities :: Some of these tests are testing same... ============================================================================== Individual CLI Variables Override All Other Variables | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Files From CLI Override All Variables In Test Data | [32mPASS [0m | ------------------------------------------------------------------------------ When Multiple Variable Files Are Given From CLI The First One Has ... | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Tables In test Case Files Override Variables From Resourc... | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Tables In Resource Files Override Variables From Resource... | [32mPASS [0m | ------------------------------------------------------------------------------ When Multiple Resource Or Variable Files Are Imported The First On... | [32mPASS [0m | ------------------------------------------------------------------------------ Variables With Different Priorities Are Seen Also In User Keywords | [32mPASS [0m | ------------------------------------------------------------------------------ Variables Set During Test Execution Override All Variables In Thei... | [32mPASS [0m | ------------------------------------------------------------------------------ Robot.Variables.Variable Priorities :: Some of these tests are tes... | [32mPASS [0m | 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 | [32mPASS [0m | ------------------------------------------------------------------------------ Variables Set In One Test Are Not Visible In Another | [32mPASS [0m | ------------------------------------------------------------------------------ Variables Set In User Keyword Are Seen Only By Lower Level User Ke... | [32mPASS [0m | ------------------------------------------------------------------------------ Robot.Variables.Variable Scopes :: These tests are somewhat relate... | [32mPASS [0m | 3 critical tests, 3 passed, 0 failed 3 tests total, 3 passed, 0 failed ============================================================================== Robot.Variables.Variable Table ============================================================================== Scalar String | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar Non-Strings | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar String With Escapes | [32mPASS [0m | ------------------------------------------------------------------------------ Empty Scalar String | [32mPASS [0m | ------------------------------------------------------------------------------ List With One Item | [32mPASS [0m | ------------------------------------------------------------------------------ List With Multiple Items | [32mPASS [0m | ------------------------------------------------------------------------------ List With Escapes | [32mPASS [0m | ------------------------------------------------------------------------------ List Created From List With Escapes | [32mPASS [0m | ------------------------------------------------------------------------------ List With No Items | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Names Are Case Insensitive | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Names Are Space Insensitive | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Names Are Underscore Insensitive | [32mPASS [0m | ------------------------------------------------------------------------------ Assign Mark With Scalar Variable | [32mPASS [0m | ------------------------------------------------------------------------------ Assign Mark With List Variable | [32mPASS [0m | ------------------------------------------------------------------------------ Three dots on the same line should be interpreted as string | [32mPASS [0m | ------------------------------------------------------------------------------ Using Scalar List Should Fail | [32mPASS [0m | ------------------------------------------------------------------------------ Robot.Variables.Variable Table | [32mPASS [0m | 16 critical tests, 16 passed, 0 failed 16 tests total, 16 passed, 0 failed ============================================================================== Robot.Variables.Variables From Resource Files ============================================================================== Scalar String | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar Non-Strings | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar String With Escapes | [32mPASS [0m | ------------------------------------------------------------------------------ Resolving Local Variable Defined From Resource File | [32mPASS [0m | ------------------------------------------------------------------------------ Empty Scalar String | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar List | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar List With Non-Strings | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar List With Escapes | [32mPASS [0m | ------------------------------------------------------------------------------ List with One Item | [32mPASS [0m | ------------------------------------------------------------------------------ List With Multiple Items | [32mPASS [0m | ------------------------------------------------------------------------------ List With Escapes | [32mPASS [0m | ------------------------------------------------------------------------------ List Created From List With Escapes | [32mPASS [0m | ------------------------------------------------------------------------------ List With No Items | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar Variable Containing List Is Different Than List Variable | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Names Are Case Insensitive | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Names Are Space Insensitive | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Names Are Underscore Insensitive | [32mPASS [0m | ------------------------------------------------------------------------------ Assign Mark With Scalar variable | [32mPASS [0m | ------------------------------------------------------------------------------ Assign Mark With List variable | [32mPASS [0m | ------------------------------------------------------------------------------ Robot.Variables.Variables From Resource Files | [32mPASS [0m | 19 critical tests, 19 passed, 0 failed 19 tests total, 19 passed, 0 failed ============================================================================== Robot.Variables.Variables From Variable Files ============================================================================== Scalar String | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar Non-Strings | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar String With Escapes | [32mPASS [0m | ------------------------------------------------------------------------------ Empty Scalar String | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar List | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar List With Non-Strings | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar List With Escapes | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar Object | [32mPASS [0m | ------------------------------------------------------------------------------ List with One Item | [32mPASS [0m | ------------------------------------------------------------------------------ List With Multiple Items | [32mPASS [0m | ------------------------------------------------------------------------------ List With Escapes | [32mPASS [0m | ------------------------------------------------------------------------------ List With No Items | [32mPASS [0m | ------------------------------------------------------------------------------ List With Objects | [32mPASS [0m | ------------------------------------------------------------------------------ Scalar Variable Containing List Is Different Than List Variable | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Names Are Case Insensitive | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Names Are Underscore Insensitive | [32mPASS [0m | ------------------------------------------------------------------------------ Robot.Variables.Variables From Variable Files | [32mPASS [0m | 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 | [32mPASS [0m | ------------------------------------------------------------------------------ Robot.Variables.Variables In Import Settings | [32mPASS [0m | 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 | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Inside Variable In Test Case | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Inside Variable In User Keyword | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Inside List Variable | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Inside List Variable Index | [32mPASS [0m | ------------------------------------------------------------------------------ Variable Inside Variable And Extended Variable Syntax | [32mPASS [0m | ------------------------------------------------------------------------------ Non-Existing Variable Inside Variable | [32mPASS [0m | ------------------------------------------------------------------------------ Robot.Variables.Variables Inside Variables | [32mPASS [0m | 7 critical tests, 7 passed, 0 failed 7 tests total, 7 passed, 0 failed ============================================================================== Robot.Variables | [32mPASS [0m | 198 critical tests, 198 passed, 0 failed 198 tests total, 198 passed, 0 failed ============================================================================== Robot :: Robot Framework acceptance tests | [31mFAIL [0m | 2907 critical tests, 2905 passed, 2 failed 2975 tests total, 2907 passed, 68 failed ============================================================================== Output: <http://robot.radiaatto.ri.fi/job/RobotFramework-Python-27/ws/atest/results/python2.7/output.xml> XUnit: <http://robot.radiaatto.ri.fi/job/RobotFramework-Python-27/ws/atest/results/python2.7/xunit.xml> Log: <http://robot.radiaatto.ri.fi/job/RobotFramework-Python-27/ws/atest/results/python2.7/log.html> Report: <http://robot.radiaatto.ri.fi/job/RobotFramework-Python-27/ws/atest/results/python2.7/report.html> Build step 'Execute shell' marked build as failure [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released 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. -- --- 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.