Class DiffFuzzReproGuidance

    • Method Detail

      • run

        public void run​(TestClass testClass,
                        FrameworkMethod method,
                        Object[] args)
                 throws Throwable
        Description copied from interface: Guidance
        Runs a test method with generated arguments as input.

        By default, this method simply runs the test method using a JUnit TrialRunner. Guidances can override this method to customize how test execution should be performed once inputs are generated. For example, a guidance that supports non-deterministic test code may wish to execute multiple trials per generated input.

        Specified by:
        run in interface Guidance
        Parameters:
        testClass - the test class
        method - the test method within the test class
        args - the arguments to the test method (i.e., the test input)
        Throws:
        Throwable - any exception that may be thrown during test execution