testy

package
v1.75.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2026 License: MIT Imports: 5 Imported by: 5

Documentation

Overview

Package testy contains test utilities for rclone

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CI added in v1.67.0

func CI() bool

CI returns true if we are running on the CI server

func HaveDocker added in v1.75.0

func HaveDocker() bool

HaveDocker returns true if the fstest/testserver docker framework can be used on this host. The framework brings up containers (e.g. minio) by exec'ing the bash init.d scripts which in turn shell out to docker, so it needs both a POSIX shell (not available on Windows) and a reachable docker daemon. The result is cached after the first call.

func SkipUnlessDocker added in v1.75.0

func SkipUnlessDocker(t *testing.T)

SkipUnlessDocker skips this test unless a working docker daemon is available. Use it for tests that rely on the fstest/testserver docker framework, which is not available on all platforms (e.g. Windows and macOS CI runners).

func SkipUnreliable

func SkipUnreliable(t *testing.T)

SkipUnreliable skips this test if running on CI

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL