/* * Copyright 2015-2023 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; import org.junit.platform.suite.api.ExcludeTags; import org.junit.platform.suite.api.IncludeClassNamePatterns; import org.junit.platform.suite.api.SelectPackages; import org.junit.platform.suite.api.Suite; /** *
In order for our log4j2 configuration to be used in an IDE, you must * set the following system property before running any tests — for * example, in Run Configurations in Eclipse. * *
* -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager ** * @since 5.0 */ @Suite @SelectPackages("example") @IncludeClassNamePatterns(".+(Tests|Demo)$") @ExcludeTags("exclude") class DocumentationTestSuite { }