Expand the following summaries for more details:
Duration: 106.4660198 seconds
| Times | |
using Moq; | |
using Reqnroll; | |
using Reqnroll.Bindings; | |
using Reqnroll.Bindings.Reflection; | |
using Reqnroll.BoDi; | |
using Reqnroll.Configuration; | |
using Reqnroll.Infrastructure; | |
using Reqnroll.Tracing; | |
// get a sample STATIC method from the package |
[CmdletBinding()] | |
param ( | |
$outputFolder = "TestResults", | |
$testRunId = $env:VSTEST_TESTRUNID, | |
$pat = $env:SYSTEM_ACCESSTOKEN, | |
$projectUrl = $env:SYSTEM_COLLECTIONURI + $env:SYSTEM_TEAMPROJECT | |
) | |
if ($testRunId -eq $null -or $testRunId -eq '') { | |
Write-Error 'Test Run ID is not specified!' -ErrorAction Stop |
Feature: Tree in the Forest Exercise | |
- Work in pairs or 3 people mini-groups | |
- Find at least one example of the detail types below | |
- Is that particular detail necessary in the scenario? | |
Detail types: | |
1. Entity property | |
2. Entity existence | |
3. Hierarchical data |
When the user attempts to register with user name {string:userName} and password {string:password} | |
* Navigate to /Register | |
* Fill in #UserName with <userName> | |
* Fill in #Password with <password> | |
* Fill in #PasswordReEnter with <password> | |
* Click #RegisterButton | |
* Remember <userName> as "Registration UserName" |
I hereby claim:
To claim this, I am signing this object:
[Test, Combinatorial] | |
public void RecognizeParametrizedText_NumberParams( | |
[Values("When_using_VALUE_as_parameter", "WhenUsingVALUEAsParameter", "WhenUsing_VALUE_AsParameter")] string methodName, | |
[Values("1", "123", "-123", "12.3", "£123")] string paramText) | |
{ | |
var sut = CreateSut(); | |
var result = CallCalculateRegexFromMethodAndAssertRegex(sut, StepDefinitionType.When, | |
CreateBindingMethod(methodName, "value")); |
[Test] | |
public void RecognizeParametrizedText_ParamAtTheEnd() | |
{ | |
var sut = CreateSut(); | |
var result = CallCalculateRegexFromMethodAndAssertRegex(sut, | |
StepDefinitionType.Given, | |
CreateBindingMethod("Given_user_WHO", "who")); | |
var match = AssertMatches(result, "user 'Joe'"); |
Scenario: Parameterless steps | |
Given a scenario 'Simple Scenario' as | |
""" | |
When I do something | |
""" | |
And the following step definitions | |
""" | |
[When] | |
public void When_I_do_something() | |
{} |
Scenario: Step defintion inheritance | |
Given foo | |
Given bar | |
Given baz |