Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namsonx/task/stabi branch #296

Merged
merged 27 commits into from
May 14, 2024
Merged

Conversation

namsonx
Copy link
Collaborator

@namsonx namsonx commented May 10, 2024

No description provided.

HolQue and others added 24 commits April 12, 2024 16:55
Test cases JPP_1500 and JPP_1501 retested and reworked
(additional brackets and spaces)
* JPP_1003 updated
* Code snippet generator updated
…_maintenance

Code snippet generator extended ('+' / '-' combinations in indices)
…_maintenance

Documentation updated (JSONP format)
Copy link
Collaborator

@HolQue HolQue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Son,

History: "Improved error message logs"

We do not have error message logs. Maybe you mean: Improved error messages?

No need to mention "logs", because some error messages are also written to console.

Therefore "Improved error messages" is enough.

You increased the version number from 0.5.0 to 0.5.1. This indicates a patch. But when you implement a new feature like the blocking of dynamic key names and the changed data type of the return value, this is not a patch any more. Please change the version to 0.6.0.

@HolQue
Copy link
Collaborator

HolQue commented May 10, 2024

Hi Son,

release info:

Please keep the example simple. There is no need to use a nested dictionary to explain the blocked dynamic key names.

This code also does - and is much easier to capture:

"param1"    : "ABC",
"param2"    : "XYZ",
"${param2}" : ${param1}
{"param1" : "ABC",
 "param2" : "XYZ",
 "XYZ" : "ABC"}

You can tell that "XYZ" now will not be created any more. And you should add a hint telling what happens instead of this: the error message.

@HolQue
Copy link
Collaborator

HolQue commented May 10, 2024

Hi Son,

regarding:

ERROR - Parameter 'teststring-1' is invalid variable name or conflicts with Robot reserved keywords.
ERROR - Variable names in Robot Framework must start with a letter or underscore, followed by letters, digits, or underscores.
UNKNOWN - Exception occurred.

caused by

if not re.match(varNamePattern, k) or k in lReservedKeyword:

Please separate this. Here we speak about two different things and it's unfavorable to mixup them. Also the wording needs to be fixed.

Better:

(1)

ERROR - Found invalid parameter name 'teststring-1'.
ERROR - Variable names in Robot Framework must start with a letter or underscore, followed by letters, digits, or underscores.

(2)
ERROR - '...' is a reserved keyword in Robot Framework and cannot be used as parameter name.

And exchange:

UNKNOWN - Exception occurred.

by:

UNKNOWN - Violation of naming conventions detected. The test execution will be aborted!

@HolQue
Copy link
Collaborator

HolQue commented May 10, 2024

Hi Son,

In case of a missing quotation, e.g:

"param1 : 1,
"param2" : 2

I get an empty ERROR line:

ERROR -
ERROR - No closing quotation in line: '                           "param1 : 1,'
UNKNOWN - Unable to load the test configuration. The test execution will be aborted!

Please remove the empty line or fill with content.

@HolQue
Copy link
Collaborator

HolQue commented May 10, 2024

Hi Son,

please also consider

#297

@test-fullautomation
Copy link
Owner

Hi @namsonx , @HolQue ,
can I merge?
Thank you,
Thomas

@namsonx
Copy link
Collaborator Author

namsonx commented May 14, 2024

Hello Thomas,

From my site, this pull-request is ready to merge.
Please help me merge this pull-request test-fullautomation/python-extensions-collection#47 first, otherwise the selftest will fail due to dotdict data type.

Thank you,
Son

@test-fullautomation test-fullautomation merged commit a8f55a6 into develop May 14, 2024
2 of 3 checks passed
@test-fullautomation test-fullautomation added enhancement New feature or request 0.12.0 labels May 14, 2024
@test-fullautomation test-fullautomation added this to the 0.12.0 milestone May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.12.0 enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

3 participants