This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"posts": [ | |
{ "id": 1, "title": "title-one", "author": "mustafayumurtaci" }, | |
{ "id": 2, "title": "title-two", "author": "mustafayumurtaci" }, | |
{ "id": 3, "title": "title-three", "author": "mustafayumurtaci" }, | |
{ "id": 4, "title": "title-four", "author": "mustafayumurtaci" } | |
], | |
"comments": [ | |
{ "id": 1, "body": "comments here", "postId": 1 }, | |
{ "id": 2, "body": "some other comments here", "postId": 4 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "title-NEW", | |
"author": "mustafayumurtaci-NEW" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"posts": [ | |
{ | |
"id": 1, | |
"title": "title-one", | |
"author": "mustafayumurtaci" | |
}, | |
{ | |
"id": 2, | |
"title": "title-two", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class Utilities | |
{ | |
public static int Sum(int a, int b) | |
{ | |
return a + b; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
namespace Example.Tests | |
{ | |
public class Tests | |
{ | |
[Test] | |
public void Sum_GivenSecondArgumantAsZero_ShouldCalculateProperly() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
namespace Example.Tests | |
{ | |
public class Tests | |
{ | |
[Test] | |
public void Sum_GivenSecondArgumantAsZero_ShouldCalculateProperly() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SONAR_USER="admin" | |
SONAR_PASS="mustafa123" | |
SONAR_HOST_URL="http://localhost:9000" | |
SONAR_PROJECT_NAME="dotnet-mutation-testing-example" | |
dotnet-sonarscanner begin \ | |
/k:$SONAR_PROJECT_NAME \ | |
/n:$SONAR_PROJECT_NAME \ | |
/d:sonar.host.url=$SONAR_HOST_URL \ | |
/d:sonar.login=$SONAR_USER \ | |
/d:sonar.password=$SONAR_PASS \ |