D
D
ddddd tttt2018-02-11 07:19:41
Software testing
ddddd tttt, 2018-02-11 07:19:41

What should a test case look like for a unit test?

For test cases where you just need to press buttons, everything is clear:
- identifier;
- title;
- idea;
- Steps;
- Expected Result.
Even if the structure of the text case should be the same, it is not entirely clear what should be inside in such a situation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kn0ckn0ck, 2018-02-11
@kn0ckn0ck

You're overcomplicating things a lot :) There are two main approaches that should be well known to those who have to write unit tests:
a. Arrange/Act/Assert
b. Given/When/Then

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question