Skip to content

User acceptance testing for the Weights & Biases python SDK library.

License

Notifications You must be signed in to change notification settings

wandb/wandb-uat

Repository files navigation

wandb-uat

User acceptance testing for the Weights & Biases python SDK library.

Introduction

This repository contains user acceptance tests for the Weights & Biases library and utilities to run the tests in cloud environments.

Installation

The recommended installation includes optional dependencies, which will provide the user with the most complete experience logging rich data types.

$ pip install wandb[media]==0.15.5

Testing

A test suite has been created to validate basic functionality of the library. By default, it will run all the tests and report a non-zero exit status if the script did not successfully execute all the tests.

The tests assume the python environment has been initialized and a W&B API key has been configured.

$ git clone https://github.com/wandb/wandb-uat.git
$ cd wandb-uat/
$ ./bin/test.sh

The test script supports skipping categories of tests if certain packages are not available. For example:

$ ./bin/test.sh --skip-torch

Usage help is available with:

$ ./bin/test.sh --help