@@ -0,0 +1,2440 @@
+/*%0A * Copyright 2019 %22Masahiko Sakamoto%22 %3Csakamoto.gsyc.3s@gmail.com%3E%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage javasnack.junit;%0A%0Aimport static org.junit.jupiter.api.Assertions.assertEquals;%0A%0Aimport java.util.UUID;%0A%0Aimport org.junit.jupiter.api.RepeatedTest;%0Aimport org.junit.jupiter.api.RepetitionInfo;%0Aimport org.junit.jupiter.api.TestInfo;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0A/**%0A * @see https://junit.org/junit5/docs/current/user-guide/#writing-tests-repeated-tests%0A */%0Apublic class TestJUnit5RepeatedTests %7B%0A    private static final Logger LOG = LoggerFactory.getLogger(TestJBasicAnnotationAssertion.class);%0A%0A    private static final String MYUUID = UUID.randomUUID().toString();%0A%0A    private final String instanceUUID = UUID.randomUUID().toString();%0A%0A    static %7B%0A        LOG.info(%22class loading static block, MYUUID=%7B%7D%22, MYUUID);%0A    %7D%0A%0A    public TestJUnit5RepeatedTests() %7B%0A        LOG.info(%22constructor block, instanceUUID = %7B%7D%22, instanceUUID);%0A    %7D%0A%0A    @RepeatedTest(3)%0A    void repeatedTest() %7B%0A        LOG.info(%22repeatedTest() called.%22);%0A    %7D%0A%0A    @RepeatedTest(4)%0A    void repeatedTestWithRepetitionInfo(RepetitionInfo repetitionInfo) %7B%0A        assertEquals(4, repetitionInfo.getTotalRepetitions());%0A        LOG.info(%22repeatedTestWithRepetitionInfo() called, current=%7B%7D%22, repetitionInfo.getCurrentRepetition());%0A    %7D%0A%0A    @RepeatedTest(5)%0A    void repeatedTestWithTestInfo(TestInfo testInfo) %7B%0A        LOG.info(%22repeatedTestWithTestInfo() called, displayName=%7B%7D%22, testInfo.getDisplayName());%0A    %7D%0A%0A    @RepeatedTest(6)%0A    void repeatedTestWithInfos(TestInfo testInfo, RepetitionInfo repetitionInfo) %7B%0A        assertEquals(6, repetitionInfo.getTotalRepetitions());%0A        LOG.info(%22repeatedTestWithInfos() called, current=%7B%7D%22, repetitionInfo.getCurrentRepetition());%0A        LOG.info(%22repeatedTestWithInfos() called, displayName=%7B%7D%22, testInfo.getDisplayName());%0A    %7D%0A%7D%0A

add juni5 RepeatedTest sample.