Debian Codegraph @

junit-jupiter-api/src/main/java/org/junit/jupiter/api/extension/DynamicTestInvocationContext.java

raw symbols SCIP
1 /*
2 * Copyright 2015-2024 the original author or authors.
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v2.0 which
6 * accompanies this distribution and is available at
7 *
8 * https://www.eclipse.org/legal/epl-v20.html
9 */
10
11 package org.junit.jupiter.api.extension;
12
13 import static org.apiguardian.api.API.Status.EXPERIMENTAL;
14
15 import org.apiguardian.api.API;
16 import org.junit.jupiter.api.function.Executable;
17
18 /**
19 * {@code DynamicTestInvocationContext} represents the <em>context</em> of a
20 * single invocation of a {@linkplain org.junit.jupiter.api.DynamicTest
21 * dynamic test}.
22 *
23 * @since 5.8
24 * @see org.junit.jupiter.api.DynamicTest
25 */
26 @API(status = EXPERIMENTAL, since = "5.8")
27 public interface DynamicTestInvocationContext {
28
29 /**
30 * Get the {@code Executable} of this dynamic test invocation context.
31 *
32 * @return the executable of the dynamic test invocation, never {@code null}
33 */
34 Executable getExecutable();
35
36 }