There was a conversation in the Discord about some weird behavior where Odin files ending in _test.odin aren't compiled unless you are running odin test. In my case, I had a file named generate_test.odin that was normal application code that generated tests, and this file was being ignored by odin build and odin check. Once I renamed the file to not end in _test.odin, things worked fine.
Then I noticed that there actually was no mention of unit tests in the overview, so I added that and added a note about the _test.odin thing at the end of the new section.
I also opted to add a note about the --help flag for Odin subcommands. 😄
There was a conversation in the Discord about some weird behavior where Odin files ending in
_test.odin
aren't compiled unless you are runningodin test
. In my case, I had a file namedgenerate_test.odin
that was normal application code that generated tests, and this file was being ignored byodin build
andodin check
. Once I renamed the file to not end in_test.odin
, things worked fine.Then I noticed that there actually was no mention of unit tests in the overview, so I added that and added a note about the
_test.odin
thing at the end of the new section.I also opted to add a note about the
--help
flag for Odin subcommands. 😄