{"id":19520364,"url":"https://github.com/informatiqal/test-o-matiq-cli","last_synced_at":"2025-04-26T07:31:40.178Z","repository":{"id":239767334,"uuid":"533034367","full_name":"Informatiqal/test-o-matiq-cli","owner":"Informatiqal","description":"CLI wrapper for test-o-matiq. Data tests for Qlik Sense apps","archived":false,"fork":false,"pushed_at":"2025-04-25T07:36:24.000Z","size":433,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T08:39:25.579Z","etag":null,"topics":["cli","qlik","qlik-sense","qliksense","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Informatiqal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-05T19:30:33.000Z","updated_at":"2024-05-14T12:30:19.000Z","dependencies_parsed_at":"2024-05-14T14:43:42.791Z","dependency_job_id":"af6da33d-54dc-486c-b264-1b5e792557c9","html_url":"https://github.com/Informatiqal/test-o-matiq-cli","commit_stats":null,"previous_names":["informatiqal/test-o-matiq-cli"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Informatiqal%2Ftest-o-matiq-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Informatiqal%2Ftest-o-matiq-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Informatiqal%2Ftest-o-matiq-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Informatiqal%2Ftest-o-matiq-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Informatiqal","download_url":"https://codeload.github.com/Informatiqal/test-o-matiq-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250786824,"owners_count":21487253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","qlik","qlik-sense","qliksense","testing"],"created_at":"2024-11-11T00:25:10.025Z","updated_at":"2025-04-26T07:31:38.490Z","avatar_url":"https://github.com/Informatiqal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test-O-Matiq CLI\n\n\u003e **Warning**\n\u003e Under development!\n\n---\n\n\u003e **Note**\n\u003e Please check out the [Wiki section](https://github.com/Informatiqal/test-o-matiq-cli/wiki) for details and examples\n\nCommand line wrapper for [test-o-matiq](https://github.com/Informatiqal/test-o-matiq)\n\n## Introduction\n\nThis command line package wraps `test-o-matiq` package and allows running data tests against Qlik app. The tests are specified in yaml files.\n\n## Installation\n\n```shell\nnpm install -g test-o-matiq-cli\n```\n\n## Usage\n\nExample yaml file:\n\n```yaml\n# yaml-language-server: $schema=https://github.com/Informatiqal/test-o-matiq/blob/main/src/schema/root.json?raw=true\n\n# ^^^ used to load json schema for better intellisense\n# if using VSCode please use \"YAML\" extension\n\ndescription: Set of test to execute against Qlik app\nauthor: Someone Whatever\nversion: 0.0.1\nselections:\n  - field: Year\n    values: [2020, 2021, 2022]\nspec:\n  Meta:\n    DataModel:\n      # check for fields presence\n      Field: [Year, OrderDate, SalesAmount, OrderId]\n      # check for table presence\n      Table:\n        - MasterCalendar\n        - OrderTransactions\n      # synthetic keys are allowed?\n      SyntheticKeys: false\n    Field: # number of values in fields\n      - name: Year\n        count: 3\n      - name: OrderId\n        count: 10\n    Table: # number of rows in tables\n      - name: OrderTransactions\n        count: 10\n      - name: MasterCalendar\n        count: 36\n    # check for variables presence\n    Variable:\n      Exists: [vLastYear]\n      #DoNotExists: [vTest1]\n  Scalar: # single expression validation. Strict comparison by default\n    - name: Test expression 1\n      expression: sum(Test)\n      result: 0\n    - name: Test expression 2\n      expression: sum(1000)\n      result: 1000\n```\n\nResult\n\n![result1](./assets/result1.png)\n\n![result2](./assets/result2.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformatiqal%2Ftest-o-matiq-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finformatiqal%2Ftest-o-matiq-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformatiqal%2Ftest-o-matiq-cli/lists"}