bash run command until status code is not zero

Developer from somewhere

Problem: want to run a command until the exit code is not zero

Solution: found here

while ./runtest; do :; done