Imagine that humanity made a mining colony at some planet. This planet has its own biosphere.
One of the retired workers decides not to go back to Earth, but instead wants to open up a bistro, so that miners don't need to eat the same stuff every day.
Question is: how does he tell what local delicacies are safe to eat?
biosphere is protein-oriented, and at least some of it is edible for earthlings - local plant is used to feed chickens, which are than fed to workers, and also as fertilizer for some crops.
our hero is not in a survival situation (so answers from here don't really work). If he needs to take a year or two and use some reasonable money to confirm edibility - he will do so. This also means he is interested in long-term health effects of space food.
if such research requires some fancy scientific equipment, he probably can get access to it - after all, someone already figured out how to feed chickens with local flora. But what would such equipment need to be?
First obvious answer would be to feed chickens with whatever he finds, and see how they do, but chickens aren't even mammals, so what's safe form them isn't necessarily safe for us.
I read the question that mine is supposed to be duplicate of before posting, and in fact I even pointed to it myself. I do not agree that answers there are useful for me. Universal Edibility Test, thorough cooking and sticking to parts of plant that are likely to be edible are all methods you are going to use in a survival situation - that is, when you are very likely to die of hunger if you don't. All of them are still very risky.