Discoverexpect(Exception)2: Testing UI Components
2: Testing UI Components

2: Testing UI Components

Update: 2021-04-06
Share

Description

What are the best practices when testing ui components? In this episode, Mirjam Bäuerlein, Roman Kuba, and Vanessa Böhner talked about how to test UI Components like Vue, React or Svelte components. They discussed when they 'shallowMount' and 'mount' components, and when they mock or don't mock API requests, stores, or other dependencies. Roman and Mirjam tell stories about performance issues, whereas Vanessa never experiences those problems working on a micro-frontend bases project in the last couple of months. On the contrary, she and her teams needed strict rules about what exactly one component or one unit is.
Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

2: Testing UI Components

2: Testing UI Components

expect(Exception)