You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2019. It is now read-only.
I would love to have a way of running the tests and printing out the text from 'describe' through to the current 'test' before each test. e.g. if I have
suite =
let
trianglesPerSquare =
2
in
describe "Grid"
[ test "1x1" <|
\_ ->
let
grid =
Grid.grid (0,0) (10,10) 1 (\x y -> 0) (\x y z -> vec3 0 0.5 1)
in
Expect.equal (1 * trianglesPerSquare) (List.length grid)
, test "1x2" <|
\_ ->
let
grid =
Grid.grid (0,0) (10,10) 2 (\x y -> 0) (\x y z -> vec3 0 0.5 1)
in
Expect.equal (4 * trianglesPerSquare) (List.length grid)
]
and I run "elm-test --trace" (or something, --logging, --status, --progress, i dunno) i would see something like
Running 2 tests. To reproduce these results, run: elm-test --fuzz 100 --seed 1126392036
Grid 1x1 ... passed
Grid 1x2 ... passed
TEST RUN PASSED