The substantial factor test is a legal standard used to determine whether a defendant's actions can be considered a significant cause of a particular outcome or harm in tort law and criminal law. This test helps establish causation by examining if the defendant's conduct was a substantial factor in bringing about the result, distinguishing it from other contributing factors that may also be involved.