Skip to content

API Reference

Complete reference for all NOIV commands and options.

Command Overview

NOIV provides several command groups for different testing workflows:

Command GroupPurposeKey Commands
Core TestingBasic test operationsquick, test run, test history
AI FeaturesIntelligent test generationgenerate natural
InteractiveGuided test creationbuild, explore
PerformanceLoad and stress testingbenchmark
Import/ExportTool integrationimport postman
ReportingResult visualizationreport html
UtilitiesProject managementinit, version

Global Options

All NOIV commands support these global options:

bash
noiv [GLOBAL_OPTIONS] COMMAND [COMMAND_OPTIONS]

--help

Display help information for any command.

bash
noiv --help
noiv generate --help
noiv benchmark --help

--version

Show NOIV version information.

bash
noiv --version

Environment Variables

NOIV supports environment variables for configuration:

VariableDescriptionExample
NOIV_API_KEYCustom AI API keyexport NOIV_API_KEY="your-key"
NOIV_BASE_URLDefault base URLexport NOIV_BASE_URL="https://api.example.com"
NOIV_TIMEOUTDefault request timeoutexport NOIV_TIMEOUT=30
NOIV_HISTORY_DIRCustom history directoryexport NOIV_HISTORY_DIR="/custom/path"

Error Codes

NOIV returns standard exit codes:

CodeMeaningDescription
0SuccessCommand completed successfully
1General ErrorCommand failed with error
2Invalid UsageIncorrect command syntax
3Network ErrorNetwork connectivity issues
4File ErrorFile not found or permission issues

Configuration Files

NOIV looks for configuration in these locations (in order):

  1. ./noiv.yaml (current directory)
  2. ~/.noiv/config.yaml (user home)
  3. /etc/noiv/config.yaml (system-wide)

Example configuration:

yaml
# ~/.noiv/config.yaml
default_timeout: 30
history_limit: 100
auto_open_reports: true
default_concurrency: 10

Output Formats

NOIV supports different output formats:

Terminal Output

Rich, colored terminal output with progress bars and tables (default).

JSON Output

Machine-readable JSON for scripting:

bash
noiv test run --output json tests.yaml

Quiet Mode

Minimal output for automated scripts:

bash
noiv test run --quiet tests.yaml

Next Steps

Explore specific command references:

TIP

Use noiv COMMAND --help to get detailed help for any specific command.

Released under the MIT License.