Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added since on line level changes #3086

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shivambagadia23
Copy link

No description provided.

Copy link
Member

@rouke-broersma rouke-broersma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert the files to file scope namespace

@rouke-broersma
Copy link
Member

/azp run

// A git repository has been detected, calculate the diff to filter
var repository = _gitInfoProvider.Repository;
var commit = _gitInfoProvider.DetermineCommit();
public TestSet Tests { get; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we move these inside class?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@inishantmishra We did not change anything there it was like that only

if (mutant.ResultStatus != MutantStatus.NoCoverage)
{
mutant.ResultStatus = MutantStatus.Pending;
mutant.ResultStatusReason = "Mutant changed compared to target commit";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The status reason is not correct, the mutant has not been changed but a covering test has been changed

Comment on lines +78 to +82
if (mutant.ResultStatus != MutantStatus.NoCoverage)
{
mutant.ResultStatus = MutantStatus.Pending;
mutant.ResultStatusReason = "Mutant changed compared to target commit";
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you not use SetMutantStatusForFileChanged?

Comment on lines +109 to +112
if (mutant.ResultStatus != MutantStatus.NoCoverage)
{
mutant.ResultStatus = MutantStatus.Pending;
mutant.ResultStatusReason = "Mutant changed compared to target commit";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you not use ResetMutantStatusForChangedTests?

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.

4 participants