Skip to content

opentensor/subtensor-js-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E2E tests for Subtensor and Subtensor EVM

This repository stores a collection of e2e tests in JS that aim to test the most critical functionality of Subtensor and Subtensor EVM such as

  • Capability of block production
  • Capability to include and execute transactions
  • Subnet operations
  • Emissions and staking rewards
  • EVM transactions
  • EVM smart contract deployment
  • EVM gas cost etc.

Running all tests locally

  1. Run a local subtensor node (using port 9944 for ws)

  2. Execute tests

yarn
yarn run test

To run a particular test case, you can pass an argument with the name or part of the name. For example:

yarn run test -- -g "Can set subnet parameter"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published