package ch.skymarshall.tcwriter.jupiter;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;

@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Test
@DisabledIfSystemProperty(named = "java.awt.headless", matches = "true")
public @interface DisableIfHeadless {
	// noop
}
Use Jupiter annotation to skip gui tests, instead of using maven profile