Learn How to Test Third Party Services With Minitest & VCR
Learn How to Test Third Party Services With Minitest & VCR
In this article we will be learning on how to work with VCR, how to configure it and how to write tests for third-party services.
March 8, 2022 at 09:45PM
Colleen Schnettler on Twitter
Link: Colleen Schnettler on Twitter: "A tricky thing to remember in Active Record is how to query multiple associations vs. nested associations. Multiple associations take a list of symbols, nested associations take a hash with a symbol. pic.twitter.com/XhGiJdcH7h— Colleen Schnettler (@leenyburger) March 3, 2022"
Pid control document
Link: Pid control document: "Excellent tips and ideas"
One of several tips on how to tune PID controllers. PID Controllers are algorithms used in all sorts of control circuits. In my case for the control of a robot motor.
Release 2.5.0 · Shopify/ruby-style-guide
Link: Release 2.5.0 · Shopify/ruby-style-guide: "What's Changed
Enable Layout/EmptyLineAfterGuardClause cop by @sambostock in #348 Enable Style/GlobalStdStream by @casperisfine in #350 Allow 'webmaster' for Naming/InclusiveLanguage b..."
Advanced Postgres Performance Tips
Link: Advanced Postgres Performance Tips: "What do you do when indexes aren’t enough?"
PostgreSQL Performance Enabling pg_stat_statements
Link: PostgreSQL Performance Enabling pg_stat_statements: "This article will help with how to enable pg_stat_statements to analyze queries and response time for the best PostgreSQL Performance."
MiniTest - Writing Test Code In Ruby (2/3)
Link: MiniTest - Writing Test Code In Ruby (2/3): "p.s. This is a series of articles and each article builds off another. I suggest starting at Part 1...."
MiniTest – Writing Test Code In Ruby (2/3)
MiniTest - Writing Test Code In Ruby (2/3)
p.s. This is a series of articles and each article builds off another. I suggest starting at Part 1….
March 4, 2022 at 02:54PM
Testing network services in Ruby is easier than you think
Link: Testing network services in Ruby is easier than you think: "You’ve started a new project and it’s time for your code to depend on a third-party service. It could be something like ElasticSearch, Resque, a billing provider, or just an arbitrary HTTP API. You’re a good developer, so you want this code to be well tested. But how do you test code that fires off requests to a service that’s totally out of your control?"