Test Driven Development (TDD) with Erlang

210
clicks
Test Driven Development (TDD) with Erlang

Source: youtube.com

Type: Video

Brujo Benavides highlights the process of Test Driven Development with practical Erlang examples. He begins with a simple example of creating an 'emojifier' and demonstrates how to start with writing tests that guide the development of actual code functionalities. The focus is on writing just enough code to pass the tests and not more, thus adhering strictly to TDD principles. Benavides then transitions into more complex scenarios, including converting the emojifier into a GenServer and eventually an OTP application. Throughout, he maintains that the tests should determine the shape and function of the code, demonstrating the refactoring process that TDD supports without changing the essence of the test suite. He also touches upon important concepts like test coverage and how to deal with potential warnings that arise due to untested callbacks. By the end, he conveys the importance of letting tests drive the development and using tools like property-based testing to handle more advanced scenarios, encouraging the audience to seek help from the community when needed.

© HashMerge 2024