The Fourier transform of a function is given by $$f(ξ) = \int_{-∞}^{∞} f(x) e^{-2πixξ}dx$$
the paper I was reading from says that the test function $e^{2πixξ}$ is a periodic with period $2\pi/ξ$ and it continues by saying ("so integrating $f$ against this test function gives information about the extent to which this frequency occurs in $f$")
My question is how integrating our original function with this "test function" gives us information about the extent to which frequency occurs in $f$ ?
Actually, the definition of the Fourier transform, namely $$ \hat{f}(\xi) = \int_\Bbb{R} f(x)e^{-2\pi ix\xi} \,\mathrm{d}x, $$ corresponds to a (hermitian) inner product $\langle f, e^{2\pi ix\xi} \rangle$, where $$ \langle \phi,\psi \rangle := \int_\Bbb{R} \phi(x)\overline{\psi(x)} \,\mathrm{d}x. $$ In the case of Fourier series, the trigonometric "monomials" $e^{2\pi ix\xi_n}$, with $\xi_n = \frac{n}{T}$, form an orthonormal basis of the Lebesgue space $L^2([-\frac{T}{2},\frac{T}{2}])$, which is a functional vector space for recall, in such a way that the expression $$ f(x) = \sum_n c_n e^{2\pi ix\xi_n} $$ is nothing else than the projection of $f$ onto the Fourier basis. In consequence, the coefficient $c_n = \langle f, e^{2\pi ix\xi_n} \rangle$ "measures" how much $f$ "contains" the sinusoid $e^{2\pi ix\xi_n}$ as its coordinate in that particular basis. It is to be noted that the Taylor series are actually constructed in the same manner with respect to a polynomial basis.
Also, note that this formalism was developped to study waves historically, that is why one speaks of the amplitude associated to the frequency $\xi_n$ when referring to $c_n$, even if those quantities have to be understood in an abstract sense and might carry other physical units.
Finally, mutatis mutandis, the Fourier transform can be interpreted in the same way, except for the fact that the trigonometric functions $e^{2\pi ix\xi}$ are meant to form the continuous basis of a larger space.