| /* |
| * Copyright 2015-2022 the original author or authors. |
| * |
| * All rights reserved. This program and the accompanying materials are |
| * made available under the terms of the Eclipse Public License v2.0 which |
| * accompanies this distribution and is available at |
| * |
| * https://www.eclipse.org/legal/epl-v20.html |
| */ |
| |
| package example; |
| |
| //tag::user_guide[] |
| import org.junit.platform.suite.api.IncludeClassNamePatterns; |
| import org.junit.platform.suite.api.SelectPackages; |
| import org.junit.platform.suite.api.Suite; |
| import org.junit.platform.suite.api.SuiteDisplayName; |
| |
| @Suite |
| @SuiteDisplayName("JUnit Platform Suite Demo") |
| @SelectPackages("example") |
| @IncludeClassNamePatterns(".*Tests") |
| //end::user_guide[] |
| @org.junit.platform.suite.api.ExcludeTags("exclude") |
| //tag::user_guide[] |
| class SuiteDemo { |
| } |
| //end::user_guide[] |