def test_step(self, batch: Batch, batch_idx: int, *args, **kwargs) -> STEP_OUTPUT:
        """Perform test step.

        This method is called during the test stage of training. By default,
        it calls the predict step.

        Args:
            batch (Batch): Input batch
            batch_idx (int): Index of the batch
            *args: Additional positional arguments (unused)
            **kwargs: Additional keyword arguments (unused)

        Returns:
            STEP_OUTPUT: Model predictions
        """
        del args, kwargs  # These variables are not used.

        return self.predict_step(batch, batch_idx)
Perform test step.

        This method is called during the test stage of training. By default,
        it calls the predict step.

        Args:
            batch (Batch): Input batch
            batch_idx (int): Index of the batch
            *args: Additional positional arguments (unused)
            **kwargs: Additional keyword arguments (unused)

        Returns:
            STEP_OUTPUT: Model predictions
        
src/anomalib/models/components/base/anomalib_module.py