Do we want consistent behavior between gleam run
and gleam test
when invoking in subdirectories?
#3624
prestontw
started this conversation in
Ideas & suggestions
Replies: 1 comment 6 replies
-
Hello! Both |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! Thank you so much for all of the awesome work put into the Gleam Language and the surrounding tools.
I have noticed one small inconsistency between
gleam run
andgleam test
when invoking from subdirectories:gleam run
will try parent directories whilegleam test
doesn't seem to do so. The repo I'm working out of is at: https://github.com/prestontw/gladvent-2023/tree/gleam-test-directories. This is forgleam 1.4.1
.gleam run
from repo root:gleam test
from repo root:gleam run
fromsrc
:gleam test
fromsrc
:I added a
tests
directory insrc
to see if running the current directory'stests
folder was the reason we didn't want to travel up to the repo root, but it doesn't look like that is being run. Given these tests aren't being run, would we want to makegleam test
from a subdirectory work similarly asgleam run
?Beta Was this translation helpful? Give feedback.
All reactions