Тёмный

Reliable network regression tests with Source and MSW 

Artem
Подписаться 144
Просмотров 235
50% 1

In this one, I'm sharing the workflow I imagined some years ago. Reproduce an issue in the browser, export the network recording as an HAR file, put it next to your tests, and transform it into request handlers for MSW. Reliable 1-1 network reproduction in your tests every time, all the time.
- Source: source.mswjs.io
- MSW: mswjs.io
- Follow me on Twitter: x.com/kettanaito
#mswjs #testing #javascript

Наука

Опубликовано:

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@kettanaito
@kettanaito 22 дня назад
I hope you like this short example of the regression testing workflow! Being able to record the actual traffic and generate mocks out of it is insanely powerful for testing tricky data-related scenarios. Give Source a try!
@tririfandani1876
@tririfandani1876 22 дня назад
Ohh this is interesting
Далее
Turns out REST APIs weren't the answer (and that's OK!)
10:38
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 812 тыс.
ЭТОТ ПЕНЁК ИЗ PLANTS VS ZOMBIES - ИМБА!
00:48
Штаны легионера
00:44
Просмотров 151 тыс.
The Story of Next.js
12:13
Просмотров 558 тыс.
When RESTful architecture isn't enough...
21:02
Просмотров 260 тыс.
I Tried Every AI Coding Assistant
24:50
Просмотров 749 тыс.
The cloud is over-engineered and overpriced (no music)
14:39
What does larger scale software development look like?
24:15
The ONLY REASON To Unit Test
8:26
Просмотров 74 тыс.
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 698 тыс.
Новые iPhone 16 и 16 Pro Max
0:42
Просмотров 2,1 млн