cardano-node-tests
Contents:
README for cardano-node-tests
Running tests using Github Actions
Running tests using Nix
Variables for configuring testrun
Local installation (e.g. for tests development)
Local usage
Tests development
Test coverage of Cardano CLI commands
Building documentation
Contributing
Test Results
Nightly system tests pipelines
Test statuses
Nightly results
Nightly upgrade testing
Sync tests
Tag Testing
1.35.3
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
Relevant existing issues
1.35.4-rc1
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
SECP256k1 IOG Test Tracking
New issues
Breaking changes
1.35.5
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
1.35.6
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
Component Level Test Tracking
Process
Types and levels of tests
Node system tests
Node nightly CLI tests
Node CLI tests (on demand)
Node sync tests
DB Sync system tests
DB Sync nightly tests
DB Sync feature tests (on demand)
DB Sync sync tests
Exploratory testing
Quality control strategy
Scope and objectives
Key principles
Quality control approach
Quality control methodology
Active quality control
Passive quality control
User acceptance test strategy
How Tos
How to start a local cluster
What is a local cluster
Local cluster parameters
Requirements
Initial setup for all Cardano components
Starting Postgres test database
Preparing local cluster scripts
Adjusting some parameter values
Start the local cluster
Stop the local cluster
Set the TX_Era
Run tests
Run test suite from file
Run a single test
Interact with the node
Transfer funds to your address
Debugging with IPython
Logs for
cardano-node
and
db-sync
Accessing the
db-sync
database
Useful queries
Additional resources
Testing MIR certificate submission with a local cluster
Creating key pairs
Payment key pair
Stake key pair
Payment address
Stake address
Transferring funds from the ‘faucet’ address to our own Shelley address
payment.addr
Build tx
Sign tx
Submit tx
Check funds on the payment.addr
Creating a stake registration certificate
Submitting the certificate with a transaction
Our stake address has id=13 and is registered
Deregistering an ‘empty’ stake address
Creating a deregistration certificate
Generating MIR cert to send funds from reserves to unregistered stake address
Build tx
Sign tx
Submit tx
State of tables after MIR cert tx submission
Logs
stdout.log
Stake credential history tool
Documentation
Example of usage
SMASH FAQ
SMASH - tests and debugging examples
Checking SMASH status
Fetching of the metadata
Delisting pools
Reserving a ticker
Whitelisting
Checking pool rejection errors
Pool unregistrations
Fetch policies from another SMASH service
An example of debugging an issue with a pool
Contributing to the Cardano node tests repository
How can I contribute?
Reporting an issue
How do I submit a (good) issue report?
Your first code contribution
Pull requests
Style guides
Git commit messages
Python style guide
Roles and Responsibilities
Source Documentation
cardano_node_tests package
Subpackages
cardano_node_tests.cluster_management package
cardano_node_tests.pytest_plugins package
cardano_node_tests.tests package
cardano_node_tests.utils package
Submodules
cardano_node_tests.cardano_cli_coverage module
cardano_node_tests.prepare_cluster_scripts module
cardano_node_tests.testnet_cleanup module
Module contents
cardano-node-tests
How Tos
Edit on GitHub
How Tos
How to start a local cluster
Testing MIR certificate submission with a local cluster
Stake credential history tool
SMASH FAQ
SMASH - tests and debugging examples