Skip to content

Conversation

@mahesh-s
Copy link

Recently ran into a issue with specflow.assist's compareToInstance and compareToSet extension methods are not accounting for fields on a given type (instead they are accounting for only properties on a given type).
This pull request includes fixes for these issues and unit tests around the same.

Reviewer: Joseph Buschmann

Yazide Boujlil and others added 30 commits September 10, 2012 13:16
Converted StepArgumentTypeConverter into a chain of responsibility
delegating the conversion logic to:
- IdentityConverter which returns the untouched value if it can be
assigned to a variable of the target type (logic comes from
StepDefinitionMatchService and TestExecutionEngine)
- StepArgumentTransformationConverter which tries to perform the
conversion using user defined step argument transformations
- SimpleConverter which handle the simple conversions: enums, GUID and
whatever is supported by System.Convert.ChangeType
Fixed bug causing StepArgumentTransformation regex to be bypassed when
argument is not a string.
Added check for StepArgumentTransformation to have one and only one
parameter when no regex is defined.
Sames behaviour as in SpecFlow Assist namespace
Added support for table conversion directly in
StepArgumentTypeConverter.
If HorizontalTableConvert can't find a conversion from a vertical table
to the target item type, and the vertical table only has one property,
it will try to find a converter for the string value of this property.
VerticalTableConverter will use the constructor that includes the
maximum number of columns with no matching writable property. Columns
with no matching constructor parameter or writer property are ignored.
Fixed issues in Invalid handling of empty strings in tables when
converting to nullable enum types
… exceptions properly). This required an upgrade to .NET 4 in TechTalk.SpecFlow.csproj
Add German "Gegeben seien" ;)
Updated Australian English as per cucumber/gherkin#196
Updated TableHelperExtensionMethods.FillInstance() to populate fields in addition to properties
New Features:
+ Specflow Test execution report derived through MSTest or NUnit
displays the tags attached with each scenario or feature in a seperate
column viz. "Category"
+ Minor fix for a toggle functionality in the XSLT file to make it work
consistently with IE and Chrome.
New Features:
+ Specflow Test execution report derived through MSTest or NUnit
displays the tags attached with each scenario or feature in a seperate
column viz. "Category"
+ Minor fix for a toggle functionality in the XSLT file to make it work
consistently with IE and Chrome.
Added "nunit:category" node for representing tags when MSTest
Report(trx) is used for generating the Specflow report.
Inclusion of two new replacements in field mapping for hyphen and question mark
Create new tests to properties with hyphen and question mark
Inclusion of two new replacements in field mapping for hyphen and question mark
Add overload to Assist's CreateSet<T> accepting Func<TableRow,T>
Added Table extension methods CompareToProjectionOfSet/Instance (issue 290)
Table conversion in StepArgumentTypeConverter
Add description to testOutput parameter of nunitexecutionreport
darrencauthon and others added 10 commits September 10, 2014 22:16
Async/Await support for Specflow Steps
Specflow Execution Report - Changes to MsTestToNunit.xslt file to add "Tags" as Categories in the NUnit Report
Made the link label anchor bottom | right to follow the rest of the
controls.
#328 Anchored the link label correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.