[jbehave-dev] [jira] (JBEHAVE-1067) it is not possible to comment a scenario with !--
Title: Message Title Anil Rasouli commented on an issue Re: it is not possible to comment a scenario with !-- No it does not work. With |-- it marked as Pending. With !-- it is only a error after a When statement. After other statements it marked as pending. And only if the comment start with scenario: Add Comment JBehave / JBEHAVE-1067 it is not possible to comment a scenario with !-- If you write a scenario with parameter see example, and comment the next scenario with !--. Then the previous when doesn't work. Example: This will not work Scenario: example When using profiles |profile| |WEBSOCKET 1 | !-- Scenario: xxx The scenario example will not work, because he think that !-- Scenario: xxx is a parameter. But i... This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c) - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
[jbehave-dev] [jira] (JBEHAVE-1067) it is not possible to comment a scenario with !--
Title: Message Title Mauro Talevi commented on an issue Re: it is not possible to comment a scenario with !-- No, it's not possible to comment a scenario with !-- If you want to skip the execution of a scenario, you should annotated it with a meta property, e.g.: Scenario: Meta: @skip And use a filter -skip to avoid running the scenarios annotated with this property. Add Comment JBehave / JBEHAVE-1067 it is not possible to comment a scenario with !-- If you write a scenario with parameter see example, and comment the next scenario with !--. Then the previous when doesn't work. Example: This will not work Scenario: example When using profiles |profile| |WEBSOCKET 1 | !-- Scenario: xxx The scenario example will not work, because he think that !-- Scenario: xxx is a parameter. But i... This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c) - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
[jbehave-dev] [jira] (JBEHAVE-1067) it is not possible to comment a scenario with !--
Title: Message Title Anders Ekstrom commented on an issue Re: it is not possible to comment a scenario with !-- I would say this is definitely a bug. This behavior is not consistent with what, at least, I would expect. Show me where in the language specification this behavior is defined. The parsing of JBehave stories is a bit strange at some times to say the least. Maybe the JBehave parser could be revised to be more well defined, when time allows? If a rewrite will be considered, the Xtext project might be a good fit for the job: The Xtext project simplifies the creation of domain specific languages. Check this out: https://eclipse.org/Xtext/ As a real bonus, when using Xtext to implement a language, an Eclipse plugin will also be generated for you, with syntax coloring, content assist, and more. Add Comment JBehave / JBEHAVE-1067 it is not possible to comment a scenario with !-- If you write a scenario with parameter see example, and comment the next scenario with !--. Then the previous when doesn't work. Example: This will not work Scenario: example When using profiles |profile| |WEBSOCKET 1 | !-- Scenario: xxx The scenario example will not work, because he think that !-- Scenario: xxx is a parameter. But i... This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)
[jbehave-dev] [jira] (JBEHAVE-1067) it is not possible to comment a scenario with !--
Title: Message Title Anil Rasouli created an issue JBehave / JBEHAVE-1067 it is not possible to comment a scenario with !-- Issue Type: Bug Assignee: Unassigned Created: 19/Feb/15 5:48 AM Priority: Major Reporter: Anil Rasouli If you write a scenario with parameter see example, and comment the next scenario with !--. Then the previous when doesn't work. Example: This will not work Scenario: example When using profiles profile WEBSOCKET 1 !-- Scenario: xxx The scenario example will not work, because he think that Scenario is a parameter. But if you comment something else like (!-- example comment) after the example scenario. It will work correct. Example: This will work Scenario: example When using profiles profile
[jbehave-dev] [jira] (JBEHAVE-1067) it is not possible to comment a scenario with !--
Title: Message Title Anil Rasouli updated an issue JBehave / JBEHAVE-1067 it is not possible to comment a scenario with !-- Change By: Anil Rasouli Ifyouwriteascenariowithparameterseeexample,andcommentthenextscenariowith!--.Thenthepreviouswhendoesn'twork.Example:ThiswillnotworkScenario:exampleWhenusingprofiles|profile||WEBSOCKET1|!--Scenario:xxxThescenarioexamplewillnotwork,becausehethinkthat !-- Scenario :xxx isaparameter.Butifyoucommentsomethingelselike(!--examplecomment)aftertheexamplescenario.Itwillworkcorrect.Example:ThiswillworkScenario:exampleWhenusingprofiles|profile||WEBSOCKET1|!--examplecomment Add Comment This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c) - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
[jbehave-dev] [jira] (JBEHAVE-1067) it is not possible to comment a scenario with !--
Title: Message Title Brent Barker edited a comment on an issue Re: it is not possible to comment a scenario with !-- Doesusingthetablecommentwork?{noformat}Scenario:exampleWhenusingprofiles|profile||WEBSOCKET1||--Scenario:xxx{noformat} {noformat} |--(pipedashdash)insteadof!-- {noformat} Add Comment JBehave / JBEHAVE-1067 it is not possible to comment a scenario with !-- If you write a scenario with parameter see example, and comment the next scenario with !--. Then the previous when doesn't work. Example: This will not work Scenario: example When using profiles |profile| |WEBSOCKET 1 | !-- Scenario: xxx The scenario example will not work, because he think that !-- Scenario: xxx is a parameter. But i... This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c) - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
[jbehave-dev] [jira] (JBEHAVE-1067) it is not possible to comment a scenario with !--
Title: Message Title Brent Barker commented on an issue Re: it is not possible to comment a scenario with !-- Does using the table comment work? Scenario: example When using profiles |profile| |WEBSOCKET 1| |-- Scenario: xxx ? (pipe dash dash) instead of !-- Add Comment JBehave / JBEHAVE-1067 it is not possible to comment a scenario with !-- If you write a scenario with parameter see example, and comment the next scenario with !--. Then the previous when doesn't work. Example: This will not work Scenario: example When using profiles |profile| |WEBSOCKET 1 | !-- Scenario: xxx The scenario example will not work, because he think that !-- Scenario: xxx is a parameter. But i... This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)