From the root of your project you should be able to run something like this:
magic run mojo run -I . ./tests/test_searcher.mojo
Where test_searcher.mojo is the file that you have the def main in.
From the root of your project you should be able to run something like this:
magic run mojo run -I . ./tests/test_searcher.mojo
Where test_searcher.mojo is the file that you have the def main in.