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

HTML report does not contain source listing in 1.4.8 #198

Closed
davidburstrom opened this issue Apr 11, 2020 · 6 comments
Closed

HTML report does not contain source listing in 1.4.8 #198

davidburstrom opened this issue Apr 11, 2020 · 6 comments
Labels
Milestone

Comments

@davidburstrom
Copy link
Contributor

There's been a regression between 1.4.7 and 1.4.8 in the HTML reporting, when looking at individual classes. In 1.4.7 the report still contained the source code of the mutated production classes, but in 1.4.8 that went away. The report still lists the performed mutations and line numbers.

@szpak
Copy link
Owner

szpak commented Apr 11, 2020

Thanks for your report. Do you use the same PIT version (overriden by pitestVersion) in both cases or the default ones?

@davidburstrom
Copy link
Contributor Author

I've tried a permutation of PITest [1.5.0, 1.5.1] and plugin [1.4.7, 1.4.8], and the source code is omitted as soon as 1.4.8 is used.

@szpak
Copy link
Owner

szpak commented Apr 11, 2020

Thanks. It's probably this commit. I will write a functional test to verify that and I will try to fix it.

@szpak
Copy link
Owner

szpak commented Apr 21, 2020

@davidburstrom You may want to play with 1.4.9-SNAPSHOT to check if it fixed the problem for you.

buildscript {
    repositories {
        mavenCentral()
        //Needed only for SNAPSHOT versions
        maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
    }
    dependencies {
        classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.9-SNAPSHOT'
    }
}

@szpak szpak closed this as completed in cbda045 Apr 21, 2020
@davidburstrom
Copy link
Contributor Author

I'm inclined to say that it is indeed fixed in 1.4.9-SNAPSHOT. Well done!

@szpak
Copy link
Owner

szpak commented Apr 22, 2020

Thanks. 1.4.9 just has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants