https://github.com/drorata/hql-query-test-mwe
https://github.com/drorata/hql-query-test-mwe
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/drorata/hql-query-test-mwe
- Owner: drorata
- Created: 2020-10-23T15:15:56.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-23T15:16:10.000Z (over 5 years ago)
- Last Synced: 2025-01-15T23:59:26.031Z (over 1 year ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to use Pytest to unit test queries
On MacOS, you'd like to install Java, maybe as follow:
```bash
brew tap adoptopenjdk/openjdk
brew cask install adoptopenjdk8
```
Next, you'd need to have Java in your path:
```bash
export JAVA_HOME=$(/usr/libexec/java_home)
```
Now, you can run the test:
```bash
pytest
```