Skip to content

Instantly share code, notes, and snippets.

@ErikSchierboom
Created May 8, 2020 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ErikSchierboom/af863d9d116aab194d21d7d42d9d26f2 to your computer and use it in GitHub Desktop.
Save ErikSchierboom/af863d9d116aab194d21d7d42d9d26f2 to your computer and use it in GitHub Desktop.
Generated results.json
{
"status": "fail",
"tests": [
{
"name": "Test Using Assert Equal In Expression Body With Expected Int",
"test": "FakeExpressionBodies.Test_Using_Assert_Equal_In_Expression_Body_With_Expected_Int",
"expected": "-5",
"command": "Fake.Invert(5)",
"status": "pass"
},
{
"name": "Test Using Assert Equal In Expression Body With Expected String",
"test": "FakeExpressionBodies.Test_Using_Assert_Equal_In_Expression_Body_With_Expected_String",
"expected": "\u0022Number: 7\u0022",
"command": "Fake.Describe(7)",
"status": "pass"
},
{
"name": "Test Using Assert In Range In Expression Body With Expected Int",
"test": "FakeExpressionBodies.Test_Using_Assert_In_Range_In_Expression_Body_With_Expected_Int",
"expected": "\u003E= 3 \u0026\u0026 \u003C= 7",
"command": "7",
"status": "pass"
},
{
"name": "Test Using Assert True In Expression Body",
"test": "FakeExpressionBodies.Test_Using_Assert_True_In_Expression_Body",
"expected": "true",
"command": "Fake.Positive(1)",
"status": "pass"
},
{
"name": "Test Using Assert False In Expression Body",
"test": "FakeExpressionBodies.Test_Using_Assert_False_In_Expression_Body",
"expected": "false",
"command": "Fake.Positive(-2)",
"status": "pass"
},
{
"name": "Test Using Assert Equal In Single Line Statement With Expected Int",
"test": "FakeSingleLineStatements.Test_Using_Assert_Equal_In_Single_Line_Statement_With_Expected_Int",
"expected": "-5",
"command": "Fake.Invert(5)",
"status": "pass"
},
{
"name": "Test Using Assert Equal In Single Line Statement With Expected String",
"test": "FakeSingleLineStatements.Test_Using_Assert_Equal_In_Single_Line_Statement_With_Expected_String",
"expected": "\u0022Number: 7\u0022",
"command": "Fake.Describe(7)",
"status": "pass"
},
{
"name": "Test Using Assert In Range In Single line With Expected Int",
"test": "FakeSingleLineStatements.Test_Using_Assert_In_Range_In_Single_line_With_Expected_Int",
"expected": "\u003E= 3 \u0026\u0026 \u003C= 7",
"command": "7",
"status": "pass"
},
{
"name": "Test Using Assert True In Single Line Statement",
"test": "FakeSingleLineStatements.Test_Using_Assert_True_In_Single_Line_Statement",
"expected": "true",
"command": "Fake.Positive(1)",
"status": "pass"
},
{
"name": "Test Using Assert False In Single Line Statement",
"test": "FakeSingleLineStatements.Test_Using_Assert_False_In_Single_Line_Statement",
"expected": "false",
"command": "Fake.Positive(-2)",
"status": "pass"
},
{
"name": "Test Using Assert Equal In Multi Line Statement With Expected Int",
"test": "FakeMultiLineStatements.Test_Using_Assert_Equal_In_Multi_Line_Statement_With_Expected_Int",
"expected": "-3",
"command": "var fake = new Fake(3);\nfake.Foo();\nfake.Invert();",
"status": "pass"
},
{
"name": "Test Using Assert Equal In Multi Line Statement With Expected String",
"test": "FakeMultiLineStatements.Test_Using_Assert_Equal_In_Multi_Line_Statement_With_Expected_String",
"expected": "\u0022Number: 9\u0022",
"command": "var fake = new Fake(9);\nfake.Foo();\nfake.Describe();",
"status": "pass"
},
{
"name": "Test Using Assert In Range In Single line With Expected Int",
"test": "FakeMultiLineStatements.Test_Using_Assert_In_Range_In_Single_line_With_Expected_Int",
"expected": "\u003E= 3 \u0026\u0026 \u003C= 7",
"command": "7",
"status": "fail",
"message": "Assert.InRange() Failure\nRange: (3 - 7)\nActual: -9"
},
{
"name": "Test Using Assert True In Multi Line Statement",
"test": "FakeMultiLineStatements.Test_Using_Assert_True_In_Multi_Line_Statement",
"expected": "true",
"command": "var fake = new Fake(6);\nfake.Foo();\nfake.Positive();",
"status": "pass"
},
{
"name": "Test Using Assert False In Multi Line Statement",
"test": "FakeMultiLineStatements.Test_Using_Assert_False_In_Multi_Line_Statement",
"expected": "false",
"command": "var fake = new Fake(-8);\nfake.Foo();\nfake.Positive();",
"status": "pass"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment