I was so annoyed by these bulky banners written to the output of serenity execution:
864 [main] INFO net.serenitybdd.core.Serenity -
_____ _____ ____ _____ ____ _____ _ ____ _____ _____ ____
|_ _| ____/ ___|_ _| / ___|_ _|/ \ | _ \_ _| ____| _ \
| | | _| \___ \ | | \___ \ | | / _ \ | |_) || | | _| | | | |
| | | |___ ___) || | ___) || |/ ___ \| _ < | | | |___| |_| |
|_| |_____|____/ |_| |____/ |_/_/ \_\_| \_\|_| |_____|____/
TEST STARTED: myTest
I found this property -Dserenity.console.headings=normal
and turned into this:
411 [main] INFO net.serenitybdd.core.Serenity -
----------------
- TEST STARTED -
----------------
TEST STARTED: myTest
Is there another way to not show this useless redundant - TEST STARTED -
surrounded by dashes right before having "TEST STARTED: myTest"
again?
Solution: It can be turned off by adding the
serenity.console.headings=QUIET
property in yourserenity.properties
file (or by setting the system property directly).Note: I have tested the same in latest serenity version i.e. 2.0.76 and it works fine.