These are chat archives for etorreborre/specs2

23rd
Nov 2017
Eric Torreborre
@etorreborre
Nov 23 2017 12:03
@asflierl I did a bunch of changes with File.separator in the HtmlPrinter, can you try 4.0.2-7d5b166-20171123095736 and tell me if it works better for you?
Andreas Flierl
@asflierl
Nov 23 2017 13:03
sure. getting an exception with that version: https://gist.github.com/asflierl/06fb203fc655dfa76d534d71a13a60a0
another thing that will happen on Windows is that absolute paths do not necessarily start with the File.separator but with the drive letter
Eric Torreborre
@etorreborre
Nov 23 2017 13:45
Sure. 4.0.2-291bdf5-20171123131811 is on the way to fix the previous issue but indeed more might be necessary for windows, I'd appreciate if you can help me with that
Andreas Flierl
@asflierl
Nov 23 2017 13:52
I will absolutely get to that pull request I promised. Just ran out of time last week.
is there a specific reason (like backwards compatibility) why specs2 can't make use of java.nio.file.* classes for these things?
Eric Torreborre
@etorreborre
Nov 23 2017 14:02
No particular reason, I was just toying with DSLs for paths at the time
Andreas Flierl
@asflierl
Nov 23 2017 14:07
tried the latest build. tests now fail with:
[error] Cannot copy resources to C:\Users\asflierl\code\smartfactsBPM-Lib-SPM\target\specs2-reports
[error] no resource found for path org\specs2\reporter\templates
Eric Torreborre
@etorreborre
Nov 23 2017 14:09
:-(
Leonard Ehrenfried
@leonardehrenfried
Nov 23 2017 14:26
is there a way to exclude an entire test class, similar to scalatest's @Ignore http://doc.scalatest.org/3.0.0/index.html#org.scalatest.Ignore ?
I'd rather not comment out an entire file.
skipAll seems to only work on mutable specs, but mine is immutable.
Andreas Flierl
@asflierl
Nov 23 2017 14:35
just tried skipAll on an immutable spec and it works like a charm
Leonard Ehrenfried
@leonardehrenfried
Nov 23 2017 14:37
Ok, thanks, will try again.
Andreas Flierl
@asflierl
Nov 23 2017 14:38
def is = args(skipAll = true) ^ s2""" ..... """