forked from junit-team/junit5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the generation of DynamicTests stream
Introduce two methods in the class DynamicTest to generate a stream of DynamicTests from a Stream/Iterator of NamedExecutables. Instead of passing an inputStream, a displayNameGenerator and a testExecutor separately, these two additional methods will allow you to pass one Iterator/Stream of a NamedExecutable. Unlike the Named interface, the NamedExecutable can colocate assertion callbacks in one container using the execute method. Issue: junit-team#3261
- Loading branch information
Showing
2 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters