Skip to content

regcommunity/bird-default-test-suite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Default Test Suite

Default Test Suite test suite for BIRD Bench

Overview

This is a comprehensive test suite for BIRD regulatory templates and data validation.

Structure

bird_default_test_suite/
├── suite_manifest.json           # Test suite metadata
├── tests/                        # Test files and fixtures
│   ├── fixtures/
│   │   └── templates/            # Test fixtures organized by template
│   │       └── {reg_tid}/       # Regulatory template ID
│   │           └── {dp_suffix}/ # Data point suffix
│   │               └── {scenario}/  # Test scenario
│   │                   └── sql_inserts.sql
│   └── test_results/             # Test execution results
├── configuration_file_tests.json # Test configuration
├── requirements.txt              # Dependencies
├── install.py                    # Installation script
└── README.md                     # This file

Usage

Point to this in the FreeBIRD aapplication

Configuration

Edit tests/bird_default_test_suite/configuration_file_tests.json to configure your tests:

{
  "tests": [
    {
      "reg_tid": "F_05_01_REF_FINREP_3_0",
      "dp_suffix": "152589_REF",
      "dp_value": 83491250,
      "scenario": "basic_scenario",
      "_suite": "bird_default_test_suite"
    }
  ]
}

Adding Test Data

  1. Create fixture directory: tests/fixtures/templates/{reg_tid}/{dp_suffix}/{scenario}/
  2. Add CSV Fies (previosuly SQL files: - sql_inserts.sql: Setup data for the test (cleanup handled automatically by database service))
  3. Update configuration file with new test entry

Test Scenarios

This test suite includes scenarios for:

  • Basic regulatory template validation
  • Data point calculations
  • Compliance checks
  • Error handling

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Add your test scenarios and fixtures
  4. Update configuration as needed
  5. Submit a pull request

License

Apache Software License v2

Version

1.0.0

Author

Test Suite Developer


Generated by BIRD Test Suite Packaging Tool

About

example test suite for input layer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages