portman icon indicating copy to clipboard operation
portman copied to clipboard

Warn for missing targets

Open thim81 opened this issue 1 year ago • 3 comments

linked to #632 #391

Result: image

thim81 avatar Sep 28 '24 16:09 thim81

@nicklloyd

Not sure, what should be the default --warn true or false?

Or this should be default, with an "--strict" instead of "--warn"?

thim81 avatar Sep 28 '24 16:09 thim81

@jpjpjp Got any feedback about the expected behaviour and/or need of having --warn or --strict?

thim81 avatar Oct 09 '24 17:10 thim81

@jpjpjp Got any feedback about the expected behaviour and/or need of having --warn or --strict?

TBH, I'm not sure where the --warn or --strict options come into play. (Are these documented?)

What I like about the behavior as demonstrated in the screenshot is that the collection is still written but at the end of the output you get a clear message that it includes references to undefined "stuff". There may be circumstances where you are writing tests in advance of implementation where this is expected, but I think its ALWAYS good to know that it is occuring.

jpjpjp avatar Oct 10 '24 13:10 jpjpjp