Get Help

Show-CatProject

Prints a readable overview of the open project — data sources, queries, tests, outputs — to the host.

Synopsis

Show-CatProject

Parameters

None (common parameters only).

What it does

Prints, for reading, what Get-CatProject returns as an object: the project file and folder, the data sources grouped by the list they came from, the named queries, the first tests of every test list (five, then ...), and the outputs. Invoke-CatProject prints the same block before running. It answers what does CAT see in this project? without running anything.

Output

Nothing on the pipeline. On the host, for example:

Project: DwhTests.cat.yaml
Project directory: D:\Testing
Working directory: D:\Testing

Data Sources:
* Project file, Yaml@1: 2 data sources
  - DWH
  - STAGE

Tests:
* Project file, Yaml@1: 12 tests
  - [Departures].[Flights exist for today], set is not empty
  - [Departures].[No flight without a gate], set is empty
  - ...

Outputs:
* xlsx: TestResults

Errors

There is no CAT project open. Use Open-CatProject to open it. when nothing is open.

Examples

Open-CatProject -Path 'D:\Testing\DwhTests.cat.yaml'
Show-CatProject