The Slow Poke
Definition:
Usually, it puts the test suite to execution and takes longer to finish and give the developer feedback.
Also Known As:
Slow Test
Code Example:
test('shoutd show Buggy on user interaction by keyboard', done => {
const wrapper = mount(
<Guide
guideContent={content}
currentHint={0}
showNext={false}
invalidCode={false}
afkExpirationTime={ 400}
/>
);
setTimeout(() => {
wrapper .update();
expect (wrapper.find('BuggySleepy'). length).toBe(1);
}
References:
Quality attributes
- Code Example
- Cause and Effect
- Frequency
- Refactoring