GithubHelp home page GithubHelp logo

go-mutesting-action's Introduction

Action for running Golang mutation tests

Runs https://github.com/AntonStoeckl/go-mutesting as Github Action. Used a fork of the original go-mutesting tool since the forked version can be used with Go modules.

See the repository's README for details about the usage of go-mutesting.

Contributions

Contributions are very welcome! If you find anything that can be done better, anything that's missing or have general questions/issues feel free to open an issue or file in a pull request.

Usage in workflow

NOTE: Requires Golang to be set up in your workflow.

...
- name: Setup Go
  uses: actions/setup-go@v3
  with:
    go-version: <version>
...
- name: Golang mutation testing
  uses: rescDev/go-mutesting-action@<version>
  with:
    targets: main.go entrypoint.go cmd/
    disabled: structinit/remove
    blacklist-file: gomutest.blacklist
    output: verbose
...

Input configuration

Following input variables are available:

  • version: Installed and used version of go-mutesting. Check the repository linked above to see all available releases. Defaults to latest.
  • targets: Targets that will be tested. Can be a space-separated list of specific targets. Defaults to ./....
  • disabled: Space-separated list of mutators that will be disabled.
  • blacklist-file: List of MD5 checksums of mutations which should be ignored, submitted as file (path).
  • output: Configure output levels. Available values are debug and verbose. Use debug,verbose or vice versa for using both.

Outputs

No outputs defined (yet).

go-mutesting-action's People

Contributors

relusc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.