@@ -8,11 +8,9 @@ Tea is a domain specific language for expressing the assertions and intentions/g
##How do I use Tea?
Make sure that you have Python 3.7, pip (for Python 3.7), and pipenv (for Python 3.7) installed.
Start a pipenv: `pipenv shell`
From inside your environment, download all dependencies from Pipfile (`pipenv update`)
Add Tea to your Python path by creating .env file that has the following one-liner in it: PYTHONPATH=${PYTHONPATH}:${PWD}
Open up a terminal with a Python interpreter running. Then `import tea` and voila!
Have fun :)
To run test: `pytest tests/integration_tests/test_integration.py`
From inside your environment, download all dependencies from Pipfile (`pipenv update`). This will take awhile because it builds Z3.
Add Tea to your Python path by creating `.env` file that has the following one-liner in it: `PYTHONPATH=${PYTHONPATH}:${PWD}`
To run tests and see output, run: `pytest tests/integration_tests/test_integration.py -s`
The main code base is written in Python and lives in the `tea` directory. The `tests` directory is used for developing and debugging and uses datasets in the `datasets` directory. Not all the datasets used in `tests/test_tea.py` are included in the `datasets` repository.
`tea/solver.py` contains the constraint solving module for both tests -> properties and properties -> tests.
0 comments on commit
dab9727