Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/smartcontractkit/chainlink-testing-framework/tools/flakeguard

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/smartcontractkit/chainlink-testing-framework/tools/flakeguard

  • v0.0.0-20241121142009-af81e8abb61c
  • Source
  • Go
  • Socket score

Version published
Created
Source

Flakeguard

Flakeguard is a tool designed to help identify flaky tests within a Go project. Flaky tests are tests that intermittently fail without changes to the code, often due to race conditions or other non-deterministic behavior. Flakeguard assists by analyzing the impact of code changes on test packages and by running tests multiple times to determine stability.

Features

  • Identify Impacted Tests: Detects test packages that may be affected by changes in your Go project files.
  • Run Tests for Flakiness: Runs tests multiple times to determine their flakiness.
  • Output Results in JSON: Allows easy integration with CI pipelines and custom reporting.
  • Supports Exclusion Lists: Configurable to exclude specified packages or paths from the analysis.
  • Recursive Dependency Analysis: Detects all impacted packages through dependency levels.

Installation

To install flakeguard CLI, you need to have Go installed on your machine. With Go installed, run the following command:

go install github.com/smartcontractkit/chainlink-testing-framework/tools/flakeguard@latest

Usage

Flakeguard offers two main commands:

  • find identifies test packages affected by recent changes.
  • run executes tests multiple times to identify flaky tests

Run with --help to see all flags for the commands.

JSON Output

Both find and run commands support JSON output --json, making it easy to integrate Flakeguard with CI/CD pipelines and reporting tools.

FAQs

Package last updated on 21 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc