Unit-testing on a local chain? More like 'fun-testing' if you ask me! Seriously though, it's the only way to go. Who wants to pay gas fees just to find a bug?
C) to avoid regression bugs with contracts that are updated constantly on the main-net. Once you update a contract on the main-net, the address stays the same, but the code changes and this can have disastrous side-effects.
B) to run tests in an environment where logging is activated. On the Main-Net you have no access to transaction logs and this is ultimately the information you need to debug your contracts.
A) to run tests quickly and especially for free, compared to continuous deployment on the MainNetwork. This way you save a lot of fees, time and costs.
Avoiding regression bugs is so crucial, especially with constantly updated contracts. I don't want to risk breaking something on the MainNet. Local testing is the smart choice.
C) to avoid regression bugs with contracts that are updated constantly on the main-net. Once you update a contract on the main-net, the address stays the same, but the code changes and this can have disastrous side-effects.
B) to run tests in an environment where logging is activated. On the Main-Net you have no access to transaction logs and this is ultimately the information you need to debug your contracts.
A) to run tests quickly and especially for free, compared to continuous deployment on the MainNetwork. This way you save a lot of fees, time and costs.
You make a great point about the logging. Debugging on the MainNet would be a nightmare without those transaction logs. Local testing is the way to go.
You make a great point about the logging. Debugging on the MainNet would be a nightmare without those transaction logs. Local testing is the way to go.
B) to run tests in an environment where logging is activated. On the Main-Net you have no access to transaction logs and this is ultimately the information you need to debug your contracts.
A) to run tests quickly and especially for free, compared to continuous deployment on the MainNetwork. This way you save a lot of fees, time and costs.
Running tests on a local chain is definitely the way to go. I can't imagine the fees I'd have to pay to test on the MainNet. Gotta save those precious Ether coins!
Wynell
2 months agoCassi
15 days agoLucy
1 months agoMarge
1 months agoEveline
2 months agoBenedict
8 days agoGalen
17 days agoEllen
1 months agoAlaine
2 months agoBelen
13 days agoRia
24 days agoNoemi
1 months agoJohnson
2 months agoLouisa
2 months agoSusy
25 days agoDenae
1 months agoMitsue
2 months agoKarl
3 months ago