V
V
Valera Figol2017-02-07 12:15:02
.NET
Valera Figol, 2017-02-07 12:15:02

Do you need logs for tests?

Can you please tell me if writing logs (Log4net) is used in practice for automated tests?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Talik, 2017-02-08
@Kamrit

Well, no one bothers to implement logs in tests, say for debugging. BUT!!! according to practice, tests should test one functionality, i.e. and asserts should only be directed at the object being tested.
If somewhere an additional check is needed at the time of data preparation, then asserts also help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question