-
Notifications
You must be signed in to change notification settings - Fork 27
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
Set a property value from a random value (generate random values). #146
Labels
enhancement
New feature or request
Milestone
Comments
end2endzone
changed the title
Set a property value from a random value. Generate random property values.
Set a property value from a random value (generate random values).
Jan 14, 2024
end2endzone
added a commit
that referenced
this issue
Jan 30, 2024
…Service. Added new unit test for the new class. Modified code to setup PcgRandomService as a valid IRandomService for the App class. #146
end2endzone
added a commit
that referenced
this issue
Feb 1, 2024
…alue by 1 to convert from "exclused" to "included" range. Implementing re/seeding support for IRandomService.h Created more unit tests. #146
end2endzone
added a commit
that referenced
this issue
Feb 2, 2024
…ld generates values bigger than the actual pattern length. #146
end2endzone
added a commit
that referenced
this issue
Feb 2, 2024
…ld generates values bigger than the actual pattern length. #146
end2endzone
added a commit
that referenced
this issue
Feb 2, 2024
end2endzone
added a commit
that referenced
this issue
Feb 4, 2024
Support for |
end2endzone
added a commit
that referenced
this issue
Feb 4, 2024
* feature-issue146: Updated CHANGES for #146 Updated documentation for `random.guid`, `random.file` and `random.path` live properties. #146 Implemented `random.guid`, `random.file` and `random.path` live properties. #146 Updated documentation for `random`, `randommin` and `randommax` attributes #146 Fixed a bug where using `randommin` without `randommax` attribute would generates values bigger than the actual pattern length. #146 Fixed a bug in RandomHelper::GetRandomMinMaxValue() to increase max_value by 1 to convert from "exclused" to "included" range. Implementing re/seeding support for IRandomService.h Created more unit tests. #146 Implemented `random`, `randommin` and `randommax` attributes for ActionProperty elements. #146. Created IRandomService interface and a valid implementation PcgRandomService. Added new unit test for the new class. Modified code to setup PcgRandomService as a valid IRandomService for the App class. #146
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Scripting usually requires to generate some sort of random value to prevent conflicting with other scripts or command runs.
It would be useful to be able to set a property from a random value.
Describe the solution you'd like
A
random
attribute should be added to the <property> element.where
#
generates a random numeric digit.a
generates a random alphabetic lowercase letter.A
generates a random alphabetic uppercase letter.z
orZ
generates a random alphanumeric character (digits, uppercase and lowercase letters).GUID
generates a random GUID.Additional properties for numeric values should also be considered.
For example attributes such
randommin
andrandommax
would allow ranged value generation:Describe alternatives you've considered
You could generate random numbers with the following steps:
<exec>
.However, that would be unnecessary complicated and ugly.
Additional context
N/A
The text was updated successfully, but these errors were encountered: