Replace Specflow.Internal.Json with System.Text.Json #714
Annotations
8 errors and 1 warning
Specs:
_/Tests/Reqnroll.Specs/Features/Parser/ParserSmokeTests.feature#L35
Expected string to be "{
"ReqnrollFeature": {
"ScenarioDefinitions": [
{
"Tags": [],
"Examples": [],
"Location": {
"Line": 10,
"Column": 1
},
"Keyword": "Scenario",
"Name": "a simple scenario",
"Description": null,
"Steps": [
{
"ScenarioBlock": 1,
"StepKeyword": 1,
"Location": {
"Line": 11,
"Column": 1
},
"Keyword": "Given ",
"KeywordType": 1,
"Text": "some precondition",
"Argument": null
},
{
"ScenarioBlock": 2,
"StepKeyword": 2,
"Location": {
"Line": 12,
"Column": 1
},
"Keyword": "When ",
"KeywordType": 2,
"Text": "I do something",
"Argument": null
},
{
"ScenarioBlock": 3,
"StepKeyword": 3,
"Location": {
"Line": 13,
"Column": 1
},
"Keyword": "Then ",
"KeywordType": 3,
"Text": "something happens",
"Argument": null
}
]
}
],
"Background": null,
"Tags": [],
"Location": {
"Line": 3,
"Column": 1
},
"Language": "en-US",
"Keyword": "Feature",
"Name": "Feature header",
"Description": "but it has also a description...\r\nA long long description\r\n\r\nwith new lines included",
"Children": [
{
"Tags": [],
"Examples": [],
"Location": {
"Line": 10,
"Column": 1
},
"Keyword": "Scenario",
"Name": "a simple scenario",
"Description": null,
"Steps": [
{
"ScenarioBlock": 1,
"StepKeyword": 1,
"Location": {
"Line": 11,
"Column": 1
},
"Keyword": "Given ",
"KeywordType": 1,
"Text": "some precondition",
"Argument": null
},
{
"ScenarioBlock": 2,
"StepKeyword": 2,
"Location": {
"Line": 12,
"Column": 1
},
"Keyword": "When ",
"KeywordType": 2,
"Text": "I do something",
"Argument": null
},
{
"ScenarioBlock": 3,
"StepKeyword": 3,
"Location": {
"Line": 13,
"Column": 1
},
"Keyword": "Then ",
"KeywordType": 3,
"Text": "something happens",
"Argument": null
}
]
}
]
},
"DocumentLocation": {
"SourceFilePath": "sample.feature",
"FeatureFolderPath": ""
},
"SourceFilePath": "sample.feature",
"Feature": {
"ScenarioDefinitions": [
{
"Tags": [],
"Examples": [],
"Location": {
"Line": 10,
"Column": 1
},
"Keyword": "Scenario",
"Name": "a simple scenario",
"Description": null,
"Steps": [
{
"ScenarioBlock": 1,
"StepKeyword": 1,
"Location": {
"Line": 11,
"Column": 1
},
"Keyword": "Given ",
"KeywordType": 1,
"Text": "some precondition",
"Argument": null
},
{
"ScenarioBlock": 2,
"StepKeyword": 2,
"Location": {
"Line": 12,
"Column": 1
},
"Keyword": "When ",
"KeywordType": 2,
"Text": "I do something",
"Argument": null
},
{
"ScenarioBlock": 3,
"StepKeyword": 3,
"Location": {
"Line": 13,
"Column": 1
},
"Keyword": "Then ",
"KeywordType": 3,
"Text": "s
|
Specs:
_/Tests/Reqnroll.Specs/Features/Parser/ParserSmokeTests.feature#L35
Expected string to be "{
"ReqnrollFeature": {
"ScenarioDefinitions": [
{
"Tags": [],
"Examples": [
{
"Tags": [],
"Location": {
"Line": 13,
"Column": 3
},
"Keyword": "Beispiele",
"Name": "",
"Description": null,
"TableHeader": {
"Location": {
"Line": 14,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 14,
"Column": 7
},
"Value": "Eingabe_1"
},
{
"Location": {
"Line": 14,
"Column": 19
},
"Value": "Eingabe_2"
},
{
"Location": {
"Line": 14,
"Column": 31
},
"Value": "Knopf"
},
{
"Location": {
"Line": 14,
"Column": 39
},
"Value": "Ausgabe"
}
]
},
"TableBody": [
{
"Location": {
"Line": 15,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 15,
"Column": 7
},
"Value": "20"
},
{
"Location": {
"Line": 15,
"Column": 12
},
"Value": "30"
},
{
"Location": {
"Line": 15,
"Column": 17
},
"Value": "add"
},
{
"Location": {
"Line": 15,
"Column": 23
},
"Value": "50"
}
]
},
{
"Location": {
"Line": 16,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 16,
"Column": 7
},
"Value": "2"
},
{
"Location": {
"Line": 16,
"Column": 11
},
"Value": "5"
},
{
"Location": {
"Line": 16,
"Column": 15
},
"Value": "add"
},
{
"Location": {
"Line": 16,
"Column": 21
},
"Value": "7"
}
]
},
{
"Location": {
"Line": 17,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 17,
"Column": 7
},
"Value": "0"
},
{
"Location": {
"Line": 17,
"Column": 11
},
"Value": "40"
},
{
"Location": {
"Line": 17,
"Column": 16
},
"Value": "add"
},
{
|
Specs:
_/Tests/Reqnroll.Specs/Features/Parser/ParserSmokeTests.feature#L35
Expected string to be "{
"ReqnrollFeature": {
"ScenarioDefinitions": [
{
"Tags": [],
"Examples": [],
"Location": {
"Line": 7,
"Column": 3
},
"Keyword": "Scenario",
"Name": "tv\u00E5 tal",
"Description": null,
"Steps": [
{
"ScenarioBlock": 1,
"StepKeyword": 1,
"Location": {
"Line": 8,
"Column": 5
},
"Keyword": "Givet ",
"KeywordType": 1,
"Text": "att jag har knappat in 5",
"Argument": null
},
{
"ScenarioBlock": 1,
"StepKeyword": 4,
"Location": {
"Line": 9,
"Column": 5
},
"Keyword": "Och ",
"KeywordType": 4,
"Text": "att jag har knappat in 7",
"Argument": null
},
{
"ScenarioBlock": 2,
"StepKeyword": 2,
"Location": {
"Line": 10,
"Column": 5
},
"Keyword": "N\u00E4r ",
"KeywordType": 2,
"Text": "jag summerar",
"Argument": null
},
{
"ScenarioBlock": 3,
"StepKeyword": 3,
"Location": {
"Line": 11,
"Column": 5
},
"Keyword": "S\u00E5 ",
"KeywordType": 3,
"Text": "ska resultatet vara 12",
"Argument": null
}
]
},
{
"Tags": [],
"Examples": [],
"Location": {
"Line": 13,
"Column": 3
},
"Keyword": "Scenario",
"Name": "tre tal",
"Description": null,
"Steps": [
{
"ScenarioBlock": 1,
"StepKeyword": 1,
"Location": {
"Line": 14,
"Column": 5
},
"Keyword": "Givet ",
"KeywordType": 1,
"Text": "att jag har knappat in 5",
"Argument": null
},
{
"ScenarioBlock": 1,
"StepKeyword": 4,
"Location": {
"Line": 15,
"Column": 5
},
"Keyword": "Och ",
"KeywordType": 4,
"Text": "att jag har knappat in 4",
"Argument": null
},
{
"ScenarioBlock": 1,
"StepKeyword": 4,
"Location": {
"Line": 16,
"Column": 5
},
"Keyword": "Och ",
"KeywordType": 4,
"Text": "att jag har knappat in 3",
"Argument": null
},
{
"ScenarioBlock": 2,
"StepKeyword": 2,
"Location": {
"Line": 17,
"Column": 5
},
"Keyword": "N\u00E4r ",
"KeywordType": 2,
"Text": "jag summerar",
"Argument": null
},
{
"ScenarioBlock": 3,
"StepKeyword": 3,
"Location": {
"Line": 18,
"Column": 5
},
"Keyword": "S\u00E5 ",
"KeywordType": 3,
"Text": "ska resultatet vara 12",
"Argument": null
}
]
}
],
"Background": null,
"Tags": [],
"Location": {
"Line": 2,
"Column": 1
},
"Language": "sv",
"Keyword": "Egenskap",
"Name": "Swedish",
"Description": " F\u00F6r att slippa att g\u00F6ra dumma fel\r\n Som r\u00E4knare\r\n Vill jag kunna l\u00E4gga samman",
"Children": [
{
"Tags": [],
"Examples": [],
"Location": {
"Line": 7,
"Column": 3
},
"Keyword": "Scenario",
"Name": "tv\u00E5 tal",
"Description": null,
"Steps": [
{
"ScenarioBlock": 1,
"StepKeyword": 1,
"Locat
|
Specs:
_/Tests/Reqnroll.Specs/Features/Parser/ParserSmokeTests.feature#L35
Expected string to be "{
"ReqnrollFeature": {
"ScenarioDefinitions": [
{
"Tags": [],
"Examples": [
{
"Tags": [],
"Location": {
"Line": 15,
"Column": 5
},
"Keyword": "Exemples",
"Name": "",
"Description": null,
"TableHeader": {
"Location": {
"Line": 16,
"Column": 7
},
"Cells": [
{
"Location": {
"Line": 16,
"Column": 9
},
"Value": "a"
},
{
"Location": {
"Line": 16,
"Column": 13
},
"Value": "b"
},
{
"Location": {
"Line": 16,
"Column": 17
},
"Value": "somme"
}
]
},
"TableBody": [
{
"Location": {
"Line": 17,
"Column": 7
},
"Cells": [
{
"Location": {
"Line": 17,
"Column": 9
},
"Value": "2"
},
{
"Location": {
"Line": 17,
"Column": 13
},
"Value": "2"
},
{
"Location": {
"Line": 17,
"Column": 17
},
"Value": "4"
}
]
},
{
"Location": {
"Line": 18,
"Column": 7
},
"Cells": [
{
"Location": {
"Line": 18,
"Column": 9
},
"Value": "2"
},
{
"Location": {
"Line": 18,
"Column": 13
},
"Value": "3"
},
{
"Location": {
"Line": 18,
"Column": 17
},
"Value": "5"
}
]
}
]
}
],
"Location": {
"Line": 7,
"Column": 3
},
"Keyword": "Plan du Sc\u00E9nario",
"Name": "Addition de deux nombres",
"Description": null,
"Steps": [
{
"ScenarioBlock": 1,
"StepKeyword": 1,
"Location": {
"Line": 8,
"Column": 5
},
"Keyword": "Soit ",
"KeywordType": 1,
"Text": "une calculatrice",
"Argument": null
},
{
"ScenarioBlock": 1,
"StepKeyword": 4,
"Location": {
"Line": 9,
"Column": 5
},
"Keyword": "Et que ",
"KeywordType": 4,
"Text": "j\u0027entre \u003Ca\u003E pour le premier nombre",
"Argument": null
},
{
"ScenarioBlock": 1,
"StepKeyword": 4,
"Location": {
"Line": 10,
"Column": 5
},
"Keyword": "Et que ",
"KeywordType": 4,
"Text": "je tape sur la touche \u0022\u002B\u0022",
"Argument": null
},
{
"ScenarioBlock": 1,
"StepKeyword": 4,
"Location": {
"Line": 11,
"Column": 5
}
|
Specs:
_/Tests/Reqnroll.Specs/Features/Parser/ParserSmokeTests.feature#L35
Expected string to be "{
"ReqnrollFeature": {
"ScenarioDefinitions": [
{
"Tags": [],
"Examples": [
{
"Tags": [],
"Location": {
"Line": 13,
"Column": 3
},
"Keyword": "P\u00E9ld\u00E1k",
"Name": "",
"Description": null,
"TableHeader": {
"Location": {
"Line": 14,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 14,
"Column": 7
},
"Value": "be_1"
},
{
"Location": {
"Line": 14,
"Column": 14
},
"Value": "be_2"
},
{
"Location": {
"Line": 14,
"Column": 21
},
"Value": "gomb"
},
{
"Location": {
"Line": 14,
"Column": 28
},
"Value": "ki"
}
]
},
"TableBody": [
{
"Location": {
"Line": 15,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 15,
"Column": 7
},
"Value": "20"
},
{
"Location": {
"Line": 15,
"Column": 12
},
"Value": "30"
},
{
"Location": {
"Line": 15,
"Column": 17
},
"Value": "add"
},
{
"Location": {
"Line": 15,
"Column": 23
},
"Value": "50"
}
]
},
{
"Location": {
"Line": 16,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 16,
"Column": 7
},
"Value": "2"
},
{
"Location": {
"Line": 16,
"Column": 11
},
"Value": "5"
},
{
"Location": {
"Line": 16,
"Column": 15
},
"Value": "add"
},
{
"Location": {
"Line": 16,
"Column": 21
},
"Value": "7"
}
]
},
{
"Location": {
"Line": 17,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 17,
"Column": 7
},
"Value": "0"
},
{
"Location": {
"Line": 17,
"Column": 11
},
"Value": "40"
},
{
"Location": {
"Line": 17,
"Column": 16
},
"Value": "add"
},
{
"Loc
|
Specs:
_/Tests/Reqnroll.Specs/Features/Parser/ParserSmokeTests.feature#L35
Expected string to be "{
"ReqnrollFeature": {
"ScenarioDefinitions": [
{
"Tags": [],
"Examples": [
{
"Tags": [],
"Location": {
"Line": 13,
"Column": 3
},
"Keyword": "Voorbeelden",
"Name": "",
"Description": null,
"TableHeader": {
"Location": {
"Line": 14,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 14,
"Column": 7
},
"Value": "ingave_1"
},
{
"Location": {
"Line": 14,
"Column": 18
},
"Value": "ingave_2"
},
{
"Location": {
"Line": 14,
"Column": 29
},
"Value": "knop"
},
{
"Location": {
"Line": 14,
"Column": 36
},
"Value": "resultaat"
}
]
},
"TableBody": [
{
"Location": {
"Line": 15,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 15,
"Column": 7
},
"Value": "20"
},
{
"Location": {
"Line": 15,
"Column": 18
},
"Value": "30"
},
{
"Location": {
"Line": 15,
"Column": 29
},
"Value": "add"
},
{
"Location": {
"Line": 15,
"Column": 36
},
"Value": "50"
}
]
},
{
"Location": {
"Line": 16,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 16,
"Column": 7
},
"Value": "2"
},
{
"Location": {
"Line": 16,
"Column": 18
},
"Value": "5"
},
{
"Location": {
"Line": 16,
"Column": 29
},
"Value": "add"
},
{
"Location": {
"Line": 16,
"Column": 36
},
"Value": "7"
}
]
},
{
"Location": {
"Line": 17,
"Column": 5
},
"Cells": [
{
"Location": {
"Line": 17,
"Column": 7
},
"Value": "0"
},
{
"Location": {
"Line": 17,
"Column": 18
},
"Value": "40"
},
{
"Location": {
"Line": 17,
"Column": 29
},
"Value": "add"
},
{
|
Specs:
_/Tests/Reqnroll.Specs/Features/Parser/ParserSmokeTests.feature#L35
Expected string to be "{
"ReqnrollFeature": {
"ScenarioDefinitions": [
{
"Tags": [],
"Examples": [],
"Location": {
"Line": 3,
"Column": 1
},
"Keyword": "Scenario",
"Name": "a scenario with a multiline argument",
"Description": null,
"Steps": [
{
"ScenarioBlock": 1,
"StepKeyword": 1,
"Location": {
"Line": 4,
"Column": 2
},
"Keyword": "Given ",
"KeywordType": 1,
"Text": "there is a multiline text argument",
"Argument": {
"Location": {
"Line": 5,
"Column": 3
},
"ContentType": null,
"Content": "Some Title, Eh?\r\n==============\r\nHere is the first paragraph of my blog post. Lorem ipsum dolor sit amet,\r\nconsectetur adipiscing elit.",
"Delimiter": "\u0022\u0022\u0022"
}
},
{
"ScenarioBlock": 2,
"StepKeyword": 2,
"Location": {
"Line": 11,
"Column": 2
},
"Keyword": "When ",
"KeywordType": 2,
"Text": "there is a multiline text argument",
"Argument": {
"Location": {
"Line": 12,
"Column": 3
},
"ContentType": null,
"Content": "Some Title, Eh?\r\n==============\r\nHere is the first paragraph of my blog post. Lorem ipsum dolor sit amet,\r\nconsectetur adipiscing elit.",
"Delimiter": "\u0022\u0022\u0022"
}
},
{
"ScenarioBlock": 3,
"StepKeyword": 3,
"Location": {
"Line": 18,
"Column": 2
},
"Keyword": "Then ",
"KeywordType": 3,
"Text": "there is a multiline text argument",
"Argument": {
"Location": {
"Line": 19,
"Column": 3
},
"ContentType": null,
"Content": "Some Title, Eh?\r\n==============\r\nHere is the first paragraph of my blog post. Lorem ipsum dolor sit amet,\r\nconsectetur adipiscing elit.",
"Delimiter": "\u0022\u0022\u0022"
}
}
]
}
],
"Background": null,
"Tags": [],
"Location": {
"Line": 1,
"Column": 1
},
"Language": "en-US",
"Keyword": "Feature",
"Name": "Multiline step arguments",
"Description": null,
"Children": [
{
"Tags": [],
"Examples": [],
"Location": {
"Line": 3,
"Column": 1
},
"Keyword": "Scenario",
"Name": "a scenario with a multiline argument",
"Description": null,
"Steps": [
{
"ScenarioBlock": 1,
"StepKeyword": 1,
"Location": {
"Line": 4,
"Column": 2
},
"Keyword": "Given ",
"KeywordType": 1,
"Text": "there is a multiline text argument",
"Argument": {
"Location": {
"Line": 5,
"Column": 3
},
"ContentType": null,
"Content": "Some Title, Eh?\r\n==============\r\nHere is the first paragraph of my blog post. Lorem ipsum dolor sit amet,\r\nconsectetur adipiscing elit.",
"Delimiter": "\u0022\u0022\u0022"
}
},
{
"ScenarioBlock": 2,
"StepKeyword": 2,
"Location": {
"Line": 11,
"Column": 2
},
"Keyword": "When ",
"KeywordType": 2,
"Text": "there is a multiline text argument",
"Argument": {
"Location": {
"Line": 12,
"Column": 3
},
"ContentType": null,
|
Specs
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading