2019-07-19 10:18:51 +03:00
# POA TokenBridge / Deployment Testing
2019-07-02 14:10:46 +03:00
The deployment playbooks are tested using [Molecule ](https://molecule.readthedocs.io ).
2019-07-02 15:54:39 +03:00
## Push remote branch
The deployment playbooks are cloning the monorepository on target hosts, using your current local git branch name. If the branch does not exists on remote, you need to push it.
```
git push
```
Alternatively, if there are no changes except the playbooks, you can use the `master` branch:
```
2019-07-08 10:15:17 +03:00
CIRCLE_BRANCH=master ./molecule.sh < scenario_name >
2019-07-02 15:54:39 +03:00
```
In this case `master` branch will be used as a codebase for Monitor, UI, Oracle and Contracts deployed by your local playbook.
2019-07-02 14:10:46 +03:00
## Run the tests
```
2019-07-08 10:15:17 +03:00
CIRCLE_BRANCH=master ./molecule.sh < scenario_name >
2019-07-02 14:10:46 +03:00
```
2019-07-08 10:15:17 +03:00
Available scenarios:
2019-07-02 14:10:46 +03:00
2019-07-08 10:15:17 +03:00
Scenario | Description
--- | ---
2019-07-12 15:51:06 +03:00
oracle | Deploys and checks standalone Oracle on Ubuntu host
ui | Deploys and checks standalone UI on Ubuntu host
2019-07-26 11:14:25 +03:00
## Ultimate E2E tests
2019-08-29 11:30:34 +03:00
For information on the Ultimate tests, please refer to [Ultimate ](../e2e-commons/ULTIMATE.md ).