-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Introduce org.junit.start
module
#5042
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
org.junit.onramp
moduleorg.junit.start
module
.map(DefaultClasspathScanner::determineSimpleClassName) | ||
.map(name -> name.replace('/', '.')) | ||
.filter(name -> !"module-info".equals(name)) | ||
.filter(name -> !name.endsWith("package-info")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks similair to ClasspathFilters.isNotPackageInfo
and isNotModuleInfo
. If you add a string based variant and call those before .map(DefaultClasspathScanner::determineSimpleClassName)
we have that logic in one place.
var listener = new SummaryGeneratingListener(); | ||
var charset = Charset.defaultCharset(); | ||
var writer = new PrintWriter(System.out, true, charset); | ||
var printer = new TreePrintingListener(writer, ColorPalette.DEFAULT, Theme.valueOf(charset)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't follow the NO_COLOR
environment variable.
And will this look good on Windows? (I haven't used it in ages, I have no clue if it supports ANSI yet)
work in progress...
org.junit.start
module #4982I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
@API
annotations