Skip to content

MicroStrategy/strqa-py

Repository files navigation

Strategy One Logo

StrQA: Test Center for Strategy One

strqa-py allows Strategy One administrators to automate integrity tests and validate that their data remains consistent and accurate after changes such like upgrades, warehouse migrations, or maintenance tasks.

This package provides tools to:

  • Create a baseline file specifying properties of specified objects in a Strategy One environment.
  • Compare properties of objects between two projects or environments.

Example output

Usage

This package is to be used with Strategy One and the mstrio-py package.

strqa = StrQA(
    objects=[OlapCube(...), ...],
    path='path/to/results',
)
result = strqa.project_vs_project(target_connection=target_conn)

This will create HTML files with the test report.

For details, see examples in the code_snippets folder.

Installation

Prerequisites

  • Python 3.10+
  • Strategy One 2021+ This package uses mstrio-py. It will be installed automatically when installing strqa-py.

Install the strqa-py Package

Install with pip:

pip install strqa-py

It is recommended to install and run strqa-py in Python's virtual environment.

About

Python library for automating integrity tests in Strategy One environments

Resources

License

Stars

Watchers

Forks