Skip to content
0:00 / 0:00

#quickcheck#smartcontracts#cardano

Testing smart contracts with QuickCheck by John Hughes

Func Prog Sweden

56K subscribers • 32 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by John Hughes, co-creator of QuickCheck

Intermediate. Assumes working knowledge.

2.8K views5 years ago1 recommendation

Tools and practiceProgramming languagesTestingHaskellFunctional programming

John Hughes explains how to use QuickCheck for property-based testing of Cardano smart contracts written in Haskell.

I will talk about some recent work on a random testing framework for smart contracts on the Cardano blockchain--which supports the world's largest "proof of stake" cryptocurrency. In contrast to the Ethereum blockchain, Cardano contracts are written in Haskell, but of course, they still need to be tested. I'll talk about the testing framework we've built, and its most novel aspect: not only must we test that nothing bad ever happens, but also that something good is always possible. John Hughes John is a well-known researcher in functional programming, the author of the classic paper Why Functional Programming Matters, and a contributor to the design of Haskell. He has been a Professor since 1985, at the University of Glasgow and Chalmers University in Gothenburg. He invented QuickCheck together with Koen Claessen in 2000, recently earning an ACM SIGPLAN award for the work. Since then John has focussed more and more on software testing, co-founding QuviQ in 2006. quviq.com linkedin.com/in/johnhughes/ If you want to get featured on the channel and have something to present, please head over to MeetUp and contact the organizers: meetup.com/Func-Prog-Sweden Video sponsor – Ada Beat adabeat.com/ Merch If you want to spread functional programming and support the channel, buy something from the shop: funcprogsweden.myspreadshop.net/ #funcprogsweden

Why it's here

1 person recommends this

What people say. Recommended as an insightful talk on applying property-based testing to blockchain smart contracts.

u/MagnusSedlacekin r/haskell • Recommends

Testing smart contracts with QuickCheck by John Hughes

u/amalloyin r/haskell • Mentions

On “Property testing - am I missing something?”

Have you watched any of John Hughes's talks on QuickCheck? link to this video is one example I pulled at random from YouTube, which I haven't watched personally but I assume is similar to the ones I have. It's interesting, and if it doesn't give you some ideas, I certainly won't be able to.