I am trying to do a hypothesis test but I do not know if I am doing the correct steps for this.
I started to define the hypothesis for a binomial proportion $p$ as:
H0: A test suite cannot detect more than 0.60 of bugs, $p\leq{0.6}$.
H1: A test suite can detect more than 0.60 of bugs, $p>0.6$.
So $p_0= 0.60$ and the observed proportion is $\hat{p} = 0.64$ over $n=50$ trials.
Then I calculated the $Z=(0.64-0.60)/\sqrt{0.60(1-0.60)/50} = 0.577$.
Then, checking the $Z$ table this value corresponds to 0.717. To determine the value of the critical region I just subtract 0.717 to one and I get the p value of 0.282.
So with this results we cannot reject the null hypothesis for a confidence interval of 95%, because 0.282 is more than 0.10.
My doubt is about if the process is correct, because I am not understanding well. How do we check if it is a one tail or two tail test, and if it is the right or left tail?. For example in this case I assume that it was a one-sided right tail test because $H_1$ is $p>0.6$, but I do not know if it is just this that we need to have in consideration. I assume that because $H_!$ is more ($>$) that it should be a right test, and because we do not have the equal ($=$) it is a one-sided test.