https://github.com/platonnetwork/platon-tests-old
This is an automated test project of the PaltON-Go. see: https://github.com/PlatONnetwork/PlatON-Go
https://github.com/platonnetwork/platon-tests-old
Last synced: about 1 month ago
JSON representation
This is an automated test project of the PaltON-Go. see: https://github.com/PlatONnetwork/PlatON-Go
- Host: GitHub
- URL: https://github.com/platonnetwork/platon-tests-old
- Owner: PlatONnetwork
- Created: 2019-06-28T08:34:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-13T08:36:06.000Z (over 1 year ago)
- Last Synced: 2024-04-22T00:43:37.703Z (about 1 year ago)
- Language: Python
- Size: 313 KB
- Stars: 6
- Watchers: 3
- Forks: 9
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PlatON-Tests
This is an automated test project of the PaltON-Go.## dependency
Install the python 3.7+, and execute the following command:
```shell
pip install -r requirements.txt
```some libs rely on C++ 14, Please install them frist.
## Usage
1. Add 'tool/[win or linux]', 'tool/win/bls_win/lib' to the environment variable
2. only windows, Add 'tool/win/bls_win/lib' to the environment variable### run all cases
```shell
pytest "tests" --nodeFile "node.yml"
```### run at multi environment
```shell
pytest "tests" --nodeFile "node_1.yml,node_2.yml" -n 2
```### Custom CLI
--nodeFile: Node configurat file, refer [[deploy.md](docs/deploy.md)].
--accountFile: Account file,refer [[accounts.yml](deploy/accounts.yml)].
--platonUrl: Automatically download the platon.
--installDependency:Install the required dependencies for use during the first deployment.
--installSuperVisor:Install the supervisor during the first deployment.
--tmpDir: Specify cache dir, default in deploy/tmp.
--initChain: Whether to initialize the nodes, default ture.
--job: Use only when using CI.
ps: Refer to pytest for other commands