Content pfp
Content
@
0 reply
0 recast
2 reactions

Elie pfp
Elie
@elie
Writing tests is fun with AI 😍
1 reply
0 recast
7 reactions

Mo pfp
Mo
@meb
Yes, can't imagine building serious business logic on back-end that'll do important stuff yet live without a single unit test
1 reply
0 recast
1 reaction

Elie pfp
Elie
@elie
Well many do. It’s a cost benefit analysis you need to make. But ai makes it much easier to do the tests as they’re all auto generated
1 reply
0 recast
1 reaction

Mo pfp
Mo
@meb
Independant of technology, writing tests is a cultural thing first and foremost. It's about a philosophy of continually providing your code works and does what you intended it to do. AI just helps us achieve better coverage. That said, 100% coverage is often useless, and one should always wonder what they are testing, not just spit out hundreds of lines of irrelevant boilerplate My experience on topic: Can make ChatGPT zero shot generate 800 LoC of working, meaningful test suits for a solidity contract
1 reply
0 recast
1 reaction

Elie pfp
Elie
@elie
Ah for solidity contracts tests are crucial. In other areas id say less so
1 reply
0 recast
0 reaction