Weeknotes: 19 February to 23 February 2024
Python modules, deciphering a ModuleNotFoundError, deploying a new project and rewriting RSpec tests

What I have found gripping
Fixing a ModuleNotFoundError in Python by importing a module with the correct name requires carefully going over the traceback message
Deploying a project with a different deployment platform and noticing that the version of the programming language is key to a deployment
Iterating on a Ruby project and adding integration tests to it and learning that Cucumber aims to make tests readable across teams
Rewriting RSpec tests in Hanami to add matchers checking the JSON response leads to syntax changes associated with an expect method
What I have read
6. Modules, Python docs
Deciphering Python's Traceback (most recent call last), Trey Hunner (Reread)
5 Ally Actions - Feb 23, 2024, Better Allies
What I have watched
Marco Roth - The Future of Rails as a Full-Stack Framework powered by Hotwire (Rails World 2023)
Featured quote
Remember, tracebacks should be read from the bottom upward. The last line tells you the exception that occurred and a (hopefully helpful) error message. That last line is what you might want to type into your favorite search engine to figure out what might be going on. — Trey Hunner
Further reading and resources
In English
Testing Rails JSON API With RSpec, Junan Chakma
In French
You just read issue #27 of Sandra's Weeknotes. You can also browse the full archives of this newsletter.