Analysis Services model integration library.
Project Links
Meta
Author: Mac Coombe
Maintainer: Eratos
Requires Python: >=3.7
Classifiers
Development Status
- 3 - Alpha
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Natural Language
- English
Operating System
- POSIX
Programming Language
- Python :: 3
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
Topic
- Scientific/Engineering :: Information Analysis
Unit testing:
Unit tests may be run with the following command:
python -m unittest discover
Unit testing with Docker
With this method, you can test using the same environment that as-models-api natively runs in.
By default, we provide a docker-compose.yml file that will run the unittests on both Python 2.7 and Python 3.5
To run the tests on the working copy of your source:
docker-compose up
The first run will take a while to pull down and build the images. Subsequent runs should be very fast.
Coverage Reporting:
Coverage reporting is handled by the Python coverage library. If necessary, it can be installed as follows:
sudo pip install coverage
An HTML coverage report can then be generated with these commands:
coverage run -m unittest discover
coverage html
The results will be placed in the '/htmlcov' directory.