jest szansa, że dożyję. #latyfundium #jest plan
jest szansa, że dożyję. #latyfundium #jest plan
Vitest vs. Jest 2026: The Migration Guide With Real Benchmarks, by (not on Mastodon or Bluesky):
https://www.sitepoint.com/vitest-vs-jest-2026-migration-benchmark/
#jest is fun to work with, but its mock objects aren't as intuitive as the ones of other languages' testing libs.
#javascript
📣 Just Blogged: Unit #Testing Setup for #SitecoreAI Content SDK Applications!
Learn #Jest ➡️Configuration ➡️Component Testing ➡️Coverage Reports
📌 Read now: https://www.amitk.net/blog/sitecoreai-contentsdk-component-testing/
#Sitecore #SitecoreMVP #SUGCON #AvanadeDoWhatMatters #SitecoreLearning #NextJS #HeadlessCMS
Reduce unit tests boilerplate with Jest’s .each syntax
When writing unit tests, especially in JavaScript/TypeScript with Jest, you often run into a common problem: repetition.Imagine testing a function with several input-output pairs. The tests can become bloated and harder to read.This is where Jest’s .each syntax shines. It lets you write cleaner, data-driven tests with minimal duplication. The Problem: Repetitive Test Cases Take a simple sum function: function sum(a, b) { return a + b; } Without .each, you might write your tests like […]https://amedee.be/reduce-unit-tests-boilerplate-with-jests-each-syntax/
Một kỹ sư QA thất nghiệp đang phát triển công cụ tạo test tự động. Anh ấy đề nghị viết miễn phí các bài test Pytest/Jest thủ công cho logic cốt lõi (không phải UI) từ kho mã nguồn GitHub của bạn. Mục đích là để hiểu các trường hợp biên mà dev quan tâm, giúp cải thiện công cụ của mình. Cơ hội tốt để có test chất lượng!
#QA #Testing #Pytest #Jest #SideProject #FreeService #KiểmThử #PhátTriểnPhầnMềm #DịchVụMiễnPhí
https://www.reddit.com/r/SideProject/comments/1peivny/im_an_unemployed_qa_engineer_b
Một kỹ sư QA thất nghiệp đang xây dựng công cụ tạo test tự động. Anh ấy đề nghị viết miễn phí các bài kiểm thử Pytest/Jest cho logic cốt lõi trong repo GitHub của bạn để hiểu rõ hơn về nhu cầu thực tế của nhà phát triển. Cơ hội tốt để có test miễn phí và giúp một side project!
#QA #Testing #Pytest #Jest #SideProject #FreeTests #KiểmThử #PhátTriểnPhầnMềm #DựÁnPhụ
https://www.reddit.com/r/SideProject/comments/1peivny/im_an_unemployed_qa_engineer_building_a_test/
jest.fn / jest.spyOn / jest.mock と reset系の使い分け
https://qiita.com/I635230/items/282139e61fcf97d14ce3?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
2/3
2. For some reason, Jest tests fail in Test Explorer when you have testMatch defined in your config, despite it ignoring them when looking for tests. We used a relatively simple string for that config so I was able to move that to the package.json script as part of our test scripts used there, which Test Explorer seems to ignore despite the .esproj file defining the npm command for tests. 🤷♂️ You also may get unexpected failures if test descriptions have double quotes.
Anyone with #VisualStudio experience that includes #NodeJS projects and working with an #esproj file have any examples they can share with me? I’m working to migrate a NodeJS project from a Linux environment to a Windows environment and including it in a monorepo with other projects, and I’m struggling with configs not working. Examples including #Jest testing configs would be appreciated, too.
Main issues:
- launch.json options appear but don’t work
- Jest tests detected but failing
This morning I got to one of the doozies in IJ and it sure makes me glad for drugs I've not done in this staid life. The sick carnival really makes you wonder what special kind of misery DFW embodied. Many doozies to come but still "entertaining" as "hell".
[Перевод] Ускорение крупномасштабной миграции тестов с помощью LLM
Airbnb недавно завершила первую крупномасштабную миграцию кода под управлением LLM: мы обновили почти 3,5 тысячи файлов тестов React-компонентов, переведя их с Enzyme на React Testing Library (RTL). По первоначальным оценкам ручная работа заняла бы 1,5 года инженерного времени, но — используя сочетание передовых моделей и надёжной автоматизации — миграция завершилась всего за 6 недель. В этой статье я расскажу о сложностях, с которыми мы столкнулись при переходе с Enzyme на RTL, почему LLM отлично подходят для такого рода задач и как мы спроектировали инструменты миграции, чтобы запускать LLM-управляемую миграцию в масштабах всей кодовой базы.
https://habr.com/ru/companies/otus/articles/947298/
#qa #миграция_тестов #react_testing_library #Jest #ретраи #покрытие_кода #автоматизация_миграций #LLM #TypeScript
I think we're quickly heading to a point where it will be a requirement.
Ppl doing strategic forks (fork, contribute, but republish with provenance) will help drive this. Ppl with bigger budgets have to drive this for bigger packages.
I cant believe packages like #jest have the dep supply chain they have. That's major.
We gotta get better.
Расследуем самое длинное issue в Jest
Привет! Меня зовут Никита, я старший фронтенд-инженер в Ozon Tech и я разрабатываю кабинет рекламодателя. Однажды мы попытались обновить версию Node.js и нашли баг, который затянулся на два года и вовлёк в себя команды Jest, Node.js и V8.
"AI will take over the world"
Meanwhile, the same AI:
https://medium.com/wiiisdom-labs/how-to-migrate-from-jest-to-vitest-without-headaches-ee200510738e - I upgraded a few projects from #Jest to #Vitest today including some not hosted by #Vite. It was super easy.