def METHOD_NAME(self):
    """run ctest tests on the installed package"""
    arborx_dir = self.spec["arborx"].prefix
    cmake_prefix_path = f"-DCMAKE_PREFIX_PATH={arborx_dir}"
    if "+mpi" in self.spec:
        cmake_prefix_path += f";{self.spec['mpi'].prefix}"
    cmake_args = [
        ".",
        cmake_prefix_path,
        f"-DCMAKE_CXX_COMPILER={os.environ['CXX']}",
        self.define(
            "Kokkos_ROOT",
            self.spec["kokkos"].prefix
            if "~trilinos" in self.spec
            else self.spec["trilinos"].prefix,
        ),
    ]
    cmake = which(self.spec["cmake"].prefix.bin.cmake)
    make = which("make")
    ctest = which("ctest")
    with working_dir(self.cached_tests_work_dir):
        cmake(*cmake_args)
        make()
        ctest("-V")