Class EngineDiscoveryResult

    • Method Detail

      • successful

        public static EngineDiscoveryResult successful()
        Create a EngineDiscoveryResult for a successful test discovery.
        Returns:
        the EngineDiscoveryResult; never null
      • failed

        public static EngineDiscoveryResult failed​(Throwable throwable)
        Create a EngineDiscoveryResult for a failed test discovery.
        Parameters:
        throwable - the throwable that caused the failed discovery; may be null
        Returns:
        the EngineDiscoveryResult; never null
      • getThrowable

        public Optional<Throwable> getThrowable()
        Get the throwable that caused this result, if available.
        Returns:
        an Optional containing the throwable; never null but potentially empty