パッケージ com.kazurayam.unittest
package com.kazurayam.unittest
com.kazurayam.unittest.TestOutputOrganizer makes it easy for your unit tests
built by Maven or Gradle to locate output files into a dedicated directory
under the project's root directory so that you can well organize
the mass of output files.
See the Long explanation for a typical usage.
-
クラス説明This class gives a categorical name to the part
"build/classes/java/test/"
in a URL string of CodeSource object of a Java class, like"file:/Users/kazurayam/github/unittest-helper/preliminary-study/build/classes/java/test/"
.original: https://www.codejava.net/java-se/file-io/java-nio-copy-file-or-directory-examplesParameter to the CopyDir constructorA utility class that implements deleteDirectoryRecursively methodProjectDirectoryResolver resolves the project's directory based on the classpath of a JVM class you are developing.StringSequence.indexOfSubsequence() will return the index value at which the subsequence is found in the sequence.Provides utility methods that helps JUnit4/JUnit5/TestNG tests with the getProjectDirViaClasspath() method and the resolveOutput().Joshua Bloch's "Builder" for the TestOutputOrganizer class