PhoToN
PhoToN
MModular
Created by toasty on 8/28/2024 in #questions
Usage of mojo test
@toasty I faced same problem. Currently, 1) I create a 'tests' folder and add 'test_xyz.mojo' files it. 2) Since '-I' command doesn't seem to be working, I just move the corresponding 'src.mojopkg' file into the tests folder. 3) Now running the 'mojo test tests' command works. I'll update my repo and share it in a bit. Does that answer your question? Feel free to let me know.
11 replies