S
S
Skoleev2021-08-23 18:04:19
Java
Skoleev, 2021-08-23 18:04:19

Should I write // Given // When // Then in test comments?

As if delimiting the test into logical parts, or should it not be explicitly indicated in the comments to each test?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Developer, 2021-08-23
@Skoleev

Code should be self-documenting

D
Dmitry Roo, 2021-08-23
@xez

If you really want to - write in peace.
https://spockframework.org/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question