2019-07-19 09:18:51 +02:00
# POA TokenBridge / Deployment Testing
2019-07-02 13:10:46 +02:00
The deployment playbooks are tested using [Molecule ](https://molecule.readthedocs.io ).
2019-07-02 14:54:39 +02: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:
```
2020-09-02 17:43:48 +03:00
./molecule.sh < scenario_name >
2019-07-02 14:54:39 +02:00
```
2021-04-16 12:31:12 +03:00
In this case `master` branch will be used as a codebase for Monitor, Oracle and Contracts deployed by your local playbook.
2019-07-02 14:54:39 +02:00
2019-07-02 13:10:46 +02:00
## Run the tests
```
2020-09-02 17:43:48 +03:00
./molecule.sh < scenario_name >
2019-07-02 13:10:46 +02:00
```
2019-07-08 09:15:17 +02:00
Available scenarios:
2019-07-02 13:10:46 +02:00
2019-07-08 09:15:17 +02:00
Scenario | Description
--- | ---
2019-07-12 14:51:06 +02:00
oracle | Deploys and checks standalone Oracle on Ubuntu host
2019-07-26 10:14:25 +02:00
## Ultimate E2E tests
2019-08-29 10:30:34 +02:00
For information on the Ultimate tests, please refer to [Ultimate ](../e2e-commons/ULTIMATE.md ).