Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Latest commit

 

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Test suite for pg_analytics

This is the test suite for the pg_analytics extension.

An example of doing all that's necessary to run the tests is, from the root of the repo is:

#!/bin/bash

set -x
export DATABASE_URL=postgresql://localhost:28816/pg_analytics
export RUST_BACKTRACE=1

# Reload pg_analytics
cargo pgrx stop --package pg_analytics
cargo pgrx install --package pg_analytics --pg-config ~/.pgrx/16.4/pgrx-install/bin/pg_config
cargo pgrx start --package pg_analytics

# Run tests
cargo test --package tests --features pg16