| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Merged into https://github.com/probitas-test/probitas
Command-line interface for Probitas - a scenario-based testing & workflow execution framework.
Requires Deno v2.x or later.
curl -fsSL https://raw.githubusercontent.com/probitas-test/cli/main/install.sh | shEnvironment variables:
| Variable | Description | Default |
|---|---|---|
| PROBITAS_VERSION | Version to install | latest |
| PROBITAS_INSTALL_DIR | Installation directory | ~/.deno/bin |
# Install specific version
curl -fsSL https://raw.githubusercontent.com/probitas-test/cli/main/install.sh | PROBITAS_VERSION=0.1.0 sh
# Install to custom directory
curl -fsSL https://raw.githubusercontent.com/probitas-test/cli/main/install.sh | PROBITAS_INSTALL_DIR=/usr/local sh# Add the tap and install
brew tap probitas-test/tap
brew install probitas
# Or install directly
brew install probitas-test/tap/probitasDeno is installed automatically as a dependency.
With Nix and flakes enabled:
# Run directly without installing
nix run github:probitas-test/cli
# Install to profile
nix profile install github:probitas-test/cliUse in a flake (recommended):
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
probitas.url = "github:probitas-test/cli";
};
outputs = { nixpkgs, probitas, ... }:
let
system = "x86_64-linux"; # or "aarch64-darwin", etc.
pkgs = import nixpkgs {
inherit system;
overlays = [ probitas.overlays.default ];
};
in {
# Now you can use pkgs.probitas anywhere
devShells.${system}.default = pkgs.mkShell {
packages = [ pkgs.probitas ];
};
};
}NixOS / Home Manager:
{
nixpkgs.overlays = [ probitas.overlays.default ];
environment.systemPackages = [ pkgs.probitas ]; # NixOS
home.packages = [ pkgs.probitas ]; # Home Manager
}# Run all scenarios
probitas run
# Run scenarios with specific tag
probitas run -s tag:example
# Run with JSON reporter
probitas run --reporter json
# List scenarios without running
probitas list
# Format scenario files
probitas fmt
# Lint scenario files
probitas lint
# Type-check scenario files
probitas check
# Show help
probitas --helpExecute scenario files and report results.
Options:
List discovered scenarios without running them.
Options:
Initialize a new Probitas project with example files.
Options:
Examples:
# Create probitas/ directory with example files
probitas init
# Create custom directory name
probitas init -d scenarios
# Overwrite existing files
probitas init --forceCreated files:
Format scenario files using Deno's formatter.
Options:
Examples:
# Format all scenario files
probitas fmt
# Format scenarios in specific directory
probitas fmt api/
# Format with custom pattern
probitas fmt --include "e2e/**/*.probitas.ts"Note: Runs deno fmt --no-config on discovered scenario files. Uses includes/excludes from probitas config (same as run/list).
Lint scenario files using Deno's linter.
Options:
Examples:
# Lint all scenario files
probitas lint
# Lint scenarios in specific directory
probitas lint api/
# Lint with custom pattern
probitas lint --include "e2e/**/*.probitas.ts"Note: Runs deno lint --no-config on discovered scenario files. Uses includes/excludes from probitas config (same as run/list). Automatically excludes rules: no-import-prefix, no-unversioned-import.
Type-check scenario files using Deno's type checker.
Options:
Examples:
# Type-check all scenario files
probitas check
# Check scenarios in specific directory
probitas check api/
# Check with custom pattern
probitas check --include "e2e/**/*.probitas.ts"Note: Runs deno check --no-config on discovered scenario files. Uses includes/excludes from probitas config (same as run/list).
Selectors filter scenarios by name or tags:
Create a configuration file in your project root:
Supported config file names (in priority order):
The CLI searches for config files in the current directory and parent directories. Configuration values can be overridden by command-line flags.
# Enter development shell with all dependencies
nix develop
# Or run commands directly
nix develop -c deno task testRequires Deno v2.x or later.
# Run tests
deno task test
# Run all checks
deno task verifySee LICENSE file for details.
| Back | FazBrowse Home | New Git URL |
{ "includes": ["probitas/**/*.probitas.ts"], "excludes": ["**/*.skip.probitas.ts"], "reporter": "list", // Options: dot, list, json, tap "maxConcurrency": 4, "maxFailures": 0, // 0 = continue all "timeout": "30s", "selectors": ["!tag:wip"] }