Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
Is there any proven way of testing blockchains?
please add details of process and tools which may need to be employed
5 ответов
0
i am interested in both functional as well as UAT perspective
+ 1
- Peer-to-peer network
- Datastructure (Blockchain, Block, Transaction)
- Wallet/identity management
- Security
- Performance
- The domain besides the blockchain (the things you put in the transaction)
- smart contracts
0
What aspect of the blockchain do you want to test? And what kind of tests? Define that first and then I can help you :)
0
Well a blockchain is not different from any other application in that perspective. The only bottleneck is that you will need to simulate the peer-to-peer network. But you can also choose to UAT on just one server in the network, which makes it a lot easier. How deep you want to go is up to you.
The functional tests are a lot more difficult, in this case I guess you don't have a choise between network or just one server. You definitely want to test this on a full running blockchain network in a test environment. I know hyperledger has some kind of framework for private blockchains for this. Also IBM tests blockchains by deploying multiple docker container. I even read that you can use multiple AKKA actors to simulate the network. Just notice that this is difficult, but not unreachable.
I hope this makes things clear for you. Do you have more questions regarding blockchain (testing)?
0
however if you can tell me how to test the various components of blockchain, what components are identified for testing?