Latex Beamer - make each item appear on new slide automatically

I am looking for a way to produce a new slide for each \item in \itemize without having to use \pause or specifications in each \item for what slides to appear on. I think I came across some command once that I could place in the preamble to do exactly this but I don't remember. Does anyone have an idea?


\documentclass{beamer}

\beamerdefaultoverlayspecification{<+->}

\begin{document}

\begin{frame}
  \begin{itemize}
    \item test
    \item test
  \end{itemize}
\end{frame}
    
\end{document}

A minor addition to the accepted answer, you can toggle this behavior for each itemize environment.

\documentclass{beamer}

\begin{document}

\begin{frame}
  \begin{itemize}[<+->]
    \item test
    \item test
  \end{itemize}
\end{frame}
    
\end{document}