ποΈWrite resilient tests with matchers that take other matchers
πΏSemantically Similar Articles (by :title_embedding)
- ποΈ 49.6 π 2023Jun26 Test-driven development in the age of artificial intelligence (π° Everyday Rails)
- ποΈ 50.1 π Feb24 Enhanced assert_broadcasts, file support for Logger outputs and more! (π§π»βπ» Emmanuel Hayford)
- ποΈ 50.6 π Mar13 Notes from migrating from Minitest to RSpec, with help from GitHub Copilot (π° Everyday Rails)
- ποΈ 50.9 π Mar01 Added fixture method and bugfixes (π§π»βπ» Wojtek)
- ποΈ 51.3 π Mar21 Ruby regex guide (π° Ruby Flow)
Write resilient tests with matchers that take other matchers
2023-12-07
-
(from Everyday Rails)
Here's a short, neat trick to help save time when updating RSpec specs to reflect new test data.
[π§ ] [v1/3] title_embedding_description: {:ricc_notes=>"[embed-v3] Fixed on 9oct24. Only seems incompatible at first glance with embed v1.", :llm_project_id=>"unavailable possibly not using Vertex", :llm_dimensions=>nil, :article_size=>313, :poly_field=>"title", :llm_embeddings_model_name=>"textembedding-gecko"}
[π§ ] [v1/3] summary_embedding_description:
[π§ ] As per bug https://github.com/palladius/gemini-news-crawler/issues/4 we can state this article belongs to titile/summary version: v3 (very few articles updated on 9oct24)
πΏarticle.to_s
------------------------------ Title: Write resilient tests with matchers that take other matchers [content] Here's a short, neat trick to help save time when updating RSpec specs to reflect new test data. [/content] PublishedDate: 2023-12-07 Category: Technology NewsPaper: Everyday Rails
"title"=>"Write resilient tests with matchers that take other matchers",
"summary"=>nil,
"content"=>"Here's a short, neat trick to help save time when updating RSpec specs to reflect new test data.",
"author"=>nil,
"link"=>"https://everydayrails.com/2023/12/07/rspec-resilient-matchers.html",
"published_date"=>Thu, 07 Dec 2023 00:00:00.000000000 UTC +00:00,
"image_url"=>nil,
"feed_url"=>"https://everydayrails.com/2023/12/07/rspec-resilient-matchers.html",
"language"=>nil,
"active"=>true,
"ricc_source"=>"feedjira::v1",
"created_at"=>Mon, 01 Apr 2024 20:13:20.623666000 UTC +00:00,
"updated_at"=>Mon, 21 Oct 2024 18:02:45.234350000 UTC +00:00,
"newspaper"=>"Everyday Rails",
"macro_region"=>"Technology"}