As far as I understand (someone please tell me if I am wrong!), you use a t-test if your data has a normal distribution (e.g. bell shaped curve with histogram or nice even spread on a boxplot) and equal variance. If your data does not have normal distribution/ equal variance, you use a non-parametric test such as mann-whitney. If you have two groups to compare, they both have to have normal distribution/equal variance. If you have three or more groups (e.g. ANOVA situation) the same assumption or normality/equal variance holds. So it isn't having five samples per se that is the problem, the problem is that if you only have 5 samples, your data probably isn't normally distributed. Even if you had 2000 samples if they aren't normally distributed, a non-parametric test is much more robust. Hope that makes sense. Good luck!