I had to do \shadowtext{\contour{... to get it to work. The other way round relaxed the offsety parameter, leaving it undefined for shadowtext after contour did its multiple font shape iterations.
Removed resizebox as well since it pixellated a lot, so used scaling instead, for smoother lines.

General font effects are possible with those two packages:

MWE
\documentclass{article}
\usepackage[svgnames]{xcolor}
\usepackage{fontspec}
\setmainfont{Noto Serif}[Scale=3]
\usepackage{contour}
\usepackage{shadowtext}
\begin{document}
\contourlength{1.4pt}
\shadowcolor{blue}
\shadowoffsetx{1.52pt}
\shadowoffsety{1.52pt}
\Huge
\shadowtext{%
\contour[32]{yellow}{%
\textbf{\uppercase{the test}}
}%
}%
\bigskip
\contourlength{0.4pt}
\color{yellow}
\shadowcolor{blue}
\shadowoffsetx{0.52pt}
\shadowoffsety{0.52pt}
\Huge
\shadowtext{%
\contour[24]{red}{%
\textbf{\uppercase{the test}}
}%
}%
\bigskip
\contourlength{0.8pt}
\color{Magenta}
\shadowcolor{blue!40}
\shadowoffsetx{4.52pt}
\shadowoffsety{2.52pt}
\Huge
\shadowtext{%
\contour[24]{red}{%
some text
}%
}%
\end{document}
\contour? – Bobyandbob Aug 09 '17 at 08:04the text. – Kristian Nordestgaard Aug 09 '17 at 08:21