Do you put tests outside the `tests/` folder?

Thanks! Two things:

  1. If you wrap the glob in quotes, elm-test will resolve the glob for you (also using glob): elm-test "src/**/ChiSquared.spec.elm"

  2. I tried to create .spec.elm files, but I get this error:

~/stuff/test-spec
❯ npx elm-test src/ChiSquared.spec.elm
-- UNEXPECTED FILE NAME --------------------------------------------------------

I am having trouble with this file name:

    /Users/lydell/stuff/test-spec/src/ChiSquared.spec.elm

I found it in your /Users/lydell/stuff/test-spec/src/ directory which is good,
but I expect all of the files in there to use the following module naming
convention:

    +--------------+----------------------------------------------------+
    | Module Name  | File Path                                          |
    +--------------+----------------------------------------------------+
    | Main         | /Users/lydell/stuff/test-spec/src/Main.elm         |
    | HomePage     | /Users/lydell/stuff/test-spec/src/HomePage.elm     |
    | Http.Helpers | /Users/lydell/stuff/test-spec/src/Http/Helpers.elm |
    +--------------+----------------------------------------------------+

Notice that the names always start with capital letters! Can you make your file
use this naming convention?

Note: Having a strict naming convention like this makes it a lot easier to find
things in large projects. If you see a module imported, you know where to look
for the corresponding file every time!

Compilation failed while attempting to build /Users/lydell/stuff/test-spec/src/ChiSquared.spec.elm

You must be doing something more to get your setup to work?