osnap! Painless & massive regression test generation for OCaml | Valentin Chaboche | Lambda Days 22

Conference: Lambda Days 2022

Year: 2022

This video was recorded at Lambda Days 2022 -https://www.lambdadays.org/lambdadays2022 osnap! Painless & massive regression test generation for OCaml | Valentin Chaboche - Software Engineering Intern at Nomadic Labs ABSTRACT Let’s be honest, OCaml developers distrust tests! They prefer more formal, but also more time-consuming methods, such as program proof. But, in reality, testing is a must in large-scale industrial software development. With snapshot testing, a function’s output is “snapshotted” and after modification such as refactoring, the test framework ensures that its output did not change. However, snapshot testing requires the developer to write scenarios by hand. We introduce osnap: a snapshot-testing library, with random scenario generation, execution, and behavioural change detection – inspired by property-based testing (“à la” QuickCheck). Using osnap, developers have a painless way to massively generate software regression tests. • Follow us on social: Twitter: https://twitter.com/LambdaDays LinkedIn: https://www.linkedin.com/company/lambda-days/ • Looking for a unique learning experience? Attend the next Lambda Days conference near you! • SUBSCRIBE TO OUR CHANNEL https://www.youtube.com/channel/UC47eUBNO8KBH_V8AfowOWOw See what's coming up at: https://codesync.global