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
The pipe-separated format is very little used and for the reasons explained in #5199 we have decided to remove it. Removing it is a backwards incompatible change and this issue covers deprecating it.
An open design decision related to the deprecation is when to emit warnings and how to mark deprecation in the parsing model. The pipe-separated format is recognized line-by-line, but it certainly isn't a good idea to emit a warning for each line. A warning per file would probably be good, but a warning only once per execution can be considered as well.
A technical challenge related to this is separating deprecation warnings from errors in the parsing model. At the moment there's no such separation. Everything is reported as an error and then the code handling errors when the execution model is built just knows based on context are errors actually warnings or not. That may not work too well in this case and we probably should add some better mechanism.
I would report it for every file, but I'd say if it's possible to report block-wise, if the entire file is pipe-delimited, then it's one block, and it only reported once, but I've seen robot files where only a few lines of a file are pipe-separated to mimic the behavior of cucumber/gherkin example tables.
Some users on Slack have told they really like the pipe-separated format and have lot of tests using it. To avoid breaking them, we could consider having the pipe format available optionally and in that case we shouldn't deprecate it. We want to get RF 7.2 out soon, so let's move this issue to RF 7.3 and decide about it later.
Would it be good to deactivate the pipe-separated format by default. This avoids that new projects / users use it.
A commandline / config parameter could allow to activate it for those users who have already existing test suites.
This procedure would support the transition.
Activity
pekkaklarck commentedon Sep 9, 2024
An open design decision related to the deprecation is when to emit warnings and how to mark deprecation in the parsing model. The pipe-separated format is recognized line-by-line, but it certainly isn't a good idea to emit a warning for each line. A warning per file would probably be good, but a warning only once per execution can be considered as well.
A technical challenge related to this is separating deprecation warnings from errors in the parsing model. At the moment there's no such separation. Everything is reported as an error and then the code handling errors when the execution model is built just knows based on context are errors actually warnings or not. That may not work too well in this case and we probably should add some better mechanism.
d-biehl commentedon Sep 24, 2024
I would report it for every file, but I'd say if it's possible to report block-wise, if the entire file is pipe-delimited, then it's one block, and it only reported once, but I've seen robot files where only a few lines of a file are pipe-separated to mimic the behavior of cucumber/gherkin example tables.
pekkaklarck commentedon Nov 27, 2024
Some users on Slack have told they really like the pipe-separated format and have lot of tests using it. To avoid breaking them, we could consider having the pipe format available optionally and in that case we shouldn't deprecate it. We want to get RF 7.2 out soon, so let's move this issue to RF 7.3 and decide about it later.
test-fullautomation commentedon Nov 27, 2024
Would it be good to deactivate the pipe-separated format by default. This avoids that new projects / users use it.
A commandline / config parameter could allow to activate it for those users who have already existing test suites.
This procedure would support the transition.