Skip to content
English - United States
  • There are no suggestions because the search field is empty.

Cycle 2.25 Deprecated Steps

We have deprecated some existing steps and provided their replacements in Cycle versions 2.25+. 

The steps that are impacted are steps that work against result sets for both moca and sql. The deprecated steps are: 

  • Given I assign row column " " to variable " "    

  • Given I verify " " in row column " " in result set       

  • Given I verify rows in result set

 

The new replacement steps are:

  • I verify " " in row column " " in SQL result set

  • I assign row column " " from SQL result set to variable " "

  • I verify rows in SQL result set

  • I verify " " in row column " " in MOCA result set

  • I assign row column " " from MOCA result set to variable " "

  • I verify rows in MOCA result set

Update Steps in VS Code

To easily update these steps, you can use the VS Code Cycle Testing extension. Open your project in VS Code, and navigate to the Problems tab in the console. 

 

 

The Feature file and affected line can be selected to open the file and navigate to the appropriate line. Each step can easily be updated from the editor. 

 

 

 

Alternative Approach 

If you are unable to use the VS Code extension, you can run the following scripts in Powershell:

$results = Get-ChildItem "C:\ \ \ " -Recurse -File |

    Where-Object { $_.FullName -notmatch "\\Output\\" } |

    Select-String -Pattern "I assign row"

$results          # show matches

$results.Count    # show number of matches

 

$results = Get-ChildItem "C:\ \ \ " -Recurse -File |

    Where-Object { $_.FullName -notmatch "\\Output\\" } |

    Select-String -Pattern "in result set"

$results          # show matches

$results.Count    # show number of matches