Test Flashcards

1
Q

What type of test cases are mostly required to be automated?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When vs verify in mockito?

A
  • when(object.method()).thenReturn(expected value);
  • verify(object).method();
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Test Pyramid

A

1- User Acceptance Test
2- End to End Test
3- Integration Test
4- Unit Test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly