Skip to content

nem catalog test

Install packages and run their declared test steps.

Install the selected packages from the catalog into NEM_HOME and run each one's declared test steps, continuing past failures and printing a summary at the end. Every install must leave a file under one of its bins or libs directories; a package without test steps is install-verified only. The exit status is 1 when any package fails.

Usage

nem catalog test [catalog] [flags]

Examples

nem catalog test                                # every package at its latest version
nem catalog test . --package jq@1.8.3           # one version
nem catalog test . --package jq --package yq    # several packages

Flags

FlagDescription
--package <strings>test name@version package (repeatable; omitted version means latest; default: every package)

Global flags

--color, --narration, --quiet, and --verbose apply to every command; see nem.

See also