Giter VIP home page Giter VIP logo

flaky-test-ci's Introduction

flaky-test-ci

Demonstrate usage of Github Actions Plugin for test fliprate calculations.

Workflow files

  • flaky-test-analysis-examples workflow to demonstrate the usage of the plugin
    • Examples with existing test_history.csv and JUnit test result files
    • Heatmap images uploaded as heatmaps artifact
  • full-workflow workflow to demonstrate flaky test analysis with previous test result artifacts
    • Download and unzip previous test result artifacts with download_artifacts.py
    • Upload test result and heatmap artifacts
  • full-workflow-with-download-plugin to download artifacts with dawidd6/action-download-artifact
    • Latest artifact zip contains all of the history -> download latest zip for flaky test analysis
    • Upload heatmaps and append current test result to the artifact

Scripts to generate test history

  • Create test_history.csv with a fake 7 day history, 40 runs of each test per day (runs pytest 280 times)
    • pip install -r requirements.txt and python generate_test_results.py
  • Create 15 JUnit test reports
    • pip install -r requirements.txt and python generate_junit_history.py

flaky-test-ci's People

Contributors

guotin avatar matveypashkovskiy avatar

Stargazers

Jonas avatar James avatar Karim Shakirov avatar Hélio Guilherme avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

czeslavo

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.