c3lang / c3c

Compiler for the C3 language
GNU Lesser General Public License v3.0
2.6k stars 149 forks source link

Test folder should be included when selecting "test" #1310

Open lerno opened 1 month ago

lerno commented 1 month ago

The project has a "test" folder by default. So the expectation (and intention!) is that this folder should be picked up when doing c3c test. This does not seem to be the case.

Dodzey commented 1 month ago

Can we make this configurable? I like having my tests right next to my code for some things, and it would be good to be able to specify the set of folders!

lerno commented 1 month ago

It certainly should be, it should be something like test-sources as an additional set of files/paths to look into. They can still be placed with the regular sources if that is desired.