Definition (generalised likelihood ratio test)
Suppose the data $X$ follows $p(x; θ)$ where $θ$ is unknown. Let $H_0$$: θ \in Θ_0$ and $H_1$$: θ \in Θ_1$ be hypotheses.
The generalised likelihood ratio statistic is $$ \begin{align*} Λ(X) = \frac{\sup_{θ\in Θ_0 \cup Θ_1} L_X(θ)}{\sup_{θ\in Θ_0} L_X(θ)} = \frac{\sup_{θ\in Θ_0\cup Θ_1} p(X; θ)}{\sup_{θ\in Θ_0} p(X; θ)}. \end{align*} $$
A generalised likelihood ratio test is a test of the form $$ \begin{align*} T(X) = 1_{\set{Λ(X) > c}}. \end{align*} $$