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

Replace badge logger with more advanced stryker logger #1629

Merged
merged 2 commits into from Jan 8, 2022

Commits on Jan 8, 2022

  1. Replace badge logger with more advanced stryker logger

    Related to #1625
    
    Now, Stryker logger allows to send badge information or the full mutation test elements report to display HTML report on Stryker Dashboard.
    
    Example: https://dashboard.stryker-mutator.io/reports/github.com/infection/infection/master#mutant
    
    Note, at the time of creating this PR, Stryker Dashboard has an old version of mutation-testing-elements lib which is too slow. Made a PR to update it: stryker-mutator/stryker-dashboard#211. The locally generated `html` report (see `logger.html` in `infection.json` already generates report with the latest lib)
    
    This is a BC break.
    
    Before:
    
    `infection.json`
    
    ```json
    {
        "logs": {
            "badge": {
                "branch": "master"
            }
        }
    }
    ```
    
    After:
    
    `infection.json` - for badge information only
    
    ```json
    {
        "logs": {
            "stryker": {
                "badge": "master"
            }
        }
    }
    ```
    
    or for badge *and* HTML report
    
    ```json
    {
        "logs": {
            "badge": {
                "report": "master"
            }
        }
    }
    ```
    maks-rafalko committed Jan 8, 2022
    Configuration menu
    Copy the full SHA
    fa53cf6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2587c8a View commit details
    Browse the repository at this point in the history