https://github.com/beda-software/testscript-eval-py
https://github.com/beda-software/testscript-eval-py
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/beda-software/testscript-eval-py
- Owner: beda-software
- License: mit
- Created: 2021-03-14T11:20:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-09T16:26:39.000Z (over 2 years ago)
- Last Synced: 2023-11-09T17:34:10.697Z (over 2 years ago)
- Language: Python
- Size: 229 KB
- Stars: 4
- Watchers: 9
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# testscript-eval-py is an engine designed to run TestScript files
## Description
This engine introduces a feature that enables the automatic identification and execution of custom TestScript YAML files. This enhancement is vital as it simplifies the process of verifying FHIR server actions using these scripts. It makes the testing of FHIR server interactions more efficient.
## Install
### Install plugin
```bash
pip install testscript-eval
```
### Setup env
```bash
PYTHONPATH=.
FHIR_SERVER_AUTHORIZATION=
FHIR_SERVER_BASE_URL=
```
## Usage
### General
```bash
pytest
```
### Docker image
```bash
docker run -v "$(pwd)/resources:/app" --env-file ./env/testscript bedasoftware/testscript-eval:latest pytest
```
### Restrictions
1. TestScript files should be stored in the TestScript folder;
2. TestScript files should be in YAML format.
## Recommendations
Highly recommend using testscript-eval-py alongside [Kaitenzushi](https://github.com/beda-software/kaitenzushi/) to enhance the TestScript development experience.
## References
1. [Pytest](https://docs.pytest.org/en/7.4.x/)
2. [TestScript](https://hl7.org/fhir/R4/testscript.html)
Made with ❤️ by Beda Software