I learned a lot from taking the Elixir for Programmers course by Dave Thomas, and after completing I wanted to summarize some of my most important takeaways. I especially want to focus on the architecture of the hangman game he creates as an example, as well as the tools used from Erlang’s Open Telecom Platform (OTP). This course shows the power of Elixir in its ability to create highly scalable, fault-tolerant applications.
In this article I’ll go over how to upgrade Testing Library’s user-event package to version 14. I’ll give a brief refresher on why we use user-event
in the first place, take a look at what’s new in version 14, and finally go over the details of how I did the upgrade. I’ll include a couple examples of tests that broke when upgrading that will hopefully help make your transition smoother.
If you are looking to step up your RSpec knowledge, I definitely recommend “Effective Testing with RSpec 3” by Myron Marston and Ian Dees. In this post I’ll sum up my main takeaways from the book, covering the motivations for testing, what makes for a good test, and describing the main types of specs you should focus on.