Backtesting
Backtesting runs a strategy's rules against historical price data to see how it would have performed, before any capital is put at risk. It's the primary way an algo trader validates an idea rather than just believing it should work.
A backtest is only as trustworthy as how closely it mirrors real execution — one that ignores transaction costs, uses future data the strategy couldn't have known at the time (lookahead bias), or assumes perfect fills at the exact signal price will show better results than the strategy could realistically achieve live.
The standard practice is testing on one period of data, then validating on a separate, later period the strategy wasn't tuned against, to check whether the edge holds up out-of-sample rather than being an artifact of over-fitting to one specific stretch of history.