How to get specs2 command line arguments and nocolor to actually work?
51 views
Skip to first unread message
Niko Vuokko
unread,
Apr 27, 2015, 8:30:07 AM4/27/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to specs2...@googlegroups.com
I'm running specs2 3.1.1 tests with Maven Surefire and would like the output not to have colors. The documentation says that using -Dspecs2.commandline="nocolor" should work, but it doesn't and neither does any imaginable variation of the same idea, for example specs2.nocolor, specs2.console=nocolor, specs2.commandline="nocolor=true", specs2.commandline="color=false".
How should it actually work?
Thanks
etorreborre
unread,
Apr 27, 2015, 6:33:33 PM4/27/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to specs2...@googlegroups.com
Hi Niko,
This is confusing I agree. If you try -Dspecs2.color=false it should work ok.
Eric.
Niko Vuokko
unread,
Apr 28, 2015, 7:45:06 AM4/28/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message