Hypothesis testing involves developing a null hypothesis (H0) and an alternative hypothesis (Ha) to test a given situation. H0 states there is no difference, while Ha states there is a difference. Tests can be one-tailed or two-tailed. A two-tailed test rejects H0 if the sample mean is significantly different in either direction, while a one-tailed test only rejects if the difference is in the direction specified by Ha. When conducting a test, there is a risk of making a Type I error by rejecting a true H0, or a Type II error by failing to reject a false H0. The significance level determines the probability of a Type I error.