CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/golang-github-com-onsi-ginkgo-v2

A mature testing framework for Go designed to help you write expressive specs

Overall
score

97%

Overview
Eval results
Files

task.mdevals/scenario-8/

Test Suite Configuration Manager

A utility for configuring Ginkgo test suite execution with parallelization support.

Capabilities

Configure Parallel Execution

  • Create a CLIConfig with parallel execution settings where Procs is set to 4 @test
  • Create a CLIConfig with auto-detection enabled where Procs is set to 0 @test
  • Retrieve the default CLIConfig and verify Procs field is accessible @test

Configure Suite Settings

  • Create a SuiteConfig with a specific random seed value of 12345 @test
  • Create a SuiteConfig with a timeout of 30 minutes @test
  • Create a SuiteConfig with FailFast enabled @test

Implementation

@generates

API

package config

import (
    "time"
    "github.com/onsi/ginkgo/v2/types"
)

// CreateParallelCLIConfig creates a CLIConfig with specified number of parallel processes.
// When procs is 0, it enables auto-detection of available CPUs.
func CreateParallelCLIConfig(procs int) types.CLIConfig

// CreateSuiteConfig creates a SuiteConfig with the specified settings.
func CreateSuiteConfig(seed int64, timeout time.Duration, failFast bool) types.SuiteConfig

Dependencies { .dependencies }

github.com/onsi/ginkgo/v2 { .dependency }

Provides testing framework configuration types.

@satisfied-by

Install with Tessl CLI

npx tessl i tessl/golang-github-com-onsi-ginkgo-v2

tile.json