Is there any proven way of testing blockchains? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there any proven way of testing blockchains?

please add details of process and tools which may need to be employed

9th May 2018, 4:00 AM
Saddam Zubair
Saddam Zubair - avatar
5 Answers
0
i am interested in both functional as well as UAT perspective
9th May 2018, 5:50 AM
Saddam Zubair
Saddam Zubair - avatar
+ 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
9th May 2018, 7:09 AM
***
*** - avatar
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 :)
9th May 2018, 5:36 AM
***
*** - avatar
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)?
9th May 2018, 6:11 AM
***
*** - avatar
0
however if you can tell me how to test the various components of blockchain, what components are identified for testing?
9th May 2018, 6:16 AM
Saddam Zubair
Saddam Zubair - avatar