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

Github Actions integration #11

Open
mabdi opened this issue Jul 30, 2021 · 1 comment
Open

Github Actions integration #11

mabdi opened this issue Jul 30, 2021 · 1 comment

Comments

@mabdi
Copy link
Collaborator

mabdi commented Jul 30, 2021

Hi there,

I would like to integrate Mutalk into Github actions, so all projects can easily benefit from mutation testing by simply adding a workflow file.

I create this thread to share the progress, and also attract possible collaborations.

Status: Under developement

The main features are:

  • It can be triggered manually or event-based (like on every pushes)
  • It calculates the mutants on different modes:
    • Full: Runs Mutalk on all the project
    • Diff: Runs Mutalk only on the pushed code
    • Commit: You can specify a commit-id. The diff will be calculated from this commit.
  • The mutation testing runs only if the build is successful based on SmalltalkCI.
  • It runs mutation testing in two steps:
    • Extreme transformations: Extreme transformations are high-level mutants that strip methods body.
    • mutation testing We run mutation testing on the undetected extreme transformations.
  • It will generate reports (in JSON and markdown formats) as artifacts.

Mehrdad

@mabdi
Copy link
Collaborator Author

mabdi commented Jul 30, 2021

A GitHub bot as a future step:

SmalltalkCI

We can use a Github bot to show the result to developers and get feedback from them.
If they decide to fix the uncovered part, the Bot can update a GitHub issue to remind them.

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

No branches or pull requests

1 participant