cardano-node-tests
Contents:
README for cardano-node-tests
Running tests using Github Actions
Running tests using Nix
Running individual tests on persistent local cluster using Nix
Variables for configuring testrun
Local usage for tests development (useful only for tests developers)
Preparing Python virtual environment
Running development cluster
Restarting development cluster
Checking the development environment
Running individual tests
Running linters
Installing
cardano-clusterlib
in development mode
Updating dependencies using poetry
Building documentation
Contributing
Test Results
Nightly system tests pipelines
Test statuses
Nightly results
Nightly upgrade testing
Sync tests
Tag Testing
8.9.1
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.9.0
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.8.0
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.7.3
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.7.2
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.6.0-pre
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.1.1
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.0.0
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
1.35.7
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
Component Level Test Tracking
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
1.35.5
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
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.3
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
Relevant existing issues
Chang HF User Stories
System Tests Coverage
CLI User Stories
CIP1694 User Stories
PlutusV3 System Tests Coverage
Smart Contract User Stories
Test Plans
Governance testing in Conway
Committee
DReps
Actions, Voting, Ratification and Enactment
SPOs
Transactions
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
Plutus System-Level Testing Overview
Summary
Scope
Not in scope
Automation
Antaeus
Cardano-node-tests
Exploratory Testing
System-Level Tag Testing Overview
What (We do)
Where (Results)
How (We do it)
How long does it take?
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.chang_us_coverage module
cardano_node_tests.dump_requirements_coverage module
cardano_node_tests.prepare_cluster_scripts module
cardano_node_tests.split_topology module
cardano_node_tests.testnet_cleanup module
Module contents
cardano-node-tests
Test Results
Tag Testing
Edit on GitHub
Tag Testing
8.9.1
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.9.0
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.8.0
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.7.3
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.7.2
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.6.0-pre
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.1.1
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
Known issues
New issues
Breaking changes
8.0.0
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
1.35.7
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
Component Level Test Tracking
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
1.35.5
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
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.3
Changelogs
Regression testing on a local cluster
Release testing checklist
New functionalities in this tag
New issues
Breaking changes
Relevant existing issues