Skip to content

PlatONnetwork/PlatON-Tests-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlatON-Tests

This is an automated test project of the PaltON-Go.

dependency

Install the python 3.7+, and execute the following command:

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

pytest "tests" --nodeFile "node.yml"

run at multi environment

pytest "tests" --nodeFile "node_1.yml,node_2.yml" -n 2

Custom CLI

--nodeFile: Node configurat file, refer [deploy.md].

--accountFile: Account file,refer [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

About

This is an automated test project of the PaltON-Go. see: https://github.com/PlatONnetwork/PlatON-Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages