You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our project we have to keep several identical tests for different OSes due to the peculiarities of line wrapping on Windows and Linux. It would be convenient if for one test you could add several verifications with the addition of a condition for selecting which verification to use.
The text was updated successfully, but these errors were encountered:
Could you use get-by-os, and an if or a switch case for running different code branches inside of the same single test?
The built-in help has even more direct examples of putting get-by-os itself as a switch into the pipe.
@vdulepov they happen to talk about Text verification, which is implemented outside of the scripting language. The solution to select different verifications is not really suitable for the problem.
I envision a boolean parameter "Ignore line ending differences" in an existing Text verification.
On a second thought, it makes no sense to have some text verifications treat line endings differently from others. So this could be a global parameter or a permanent change.
In our project we have to keep several identical tests for different OSes due to the peculiarities of line wrapping on Windows and Linux. It would be convenient if for one test you could add several verifications with the addition of a condition for selecting which verification to use.
The text was updated successfully, but these errors were encountered: