this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

v1.6.0

+8 -12
+2 -1
CHANGELOG.md
··· 1 1 # Changelog 2 2 3 - ## Unreleased 3 + ## v1.6.0 - 2025-06-29 4 4 5 5 - Improved formatting of unexpected errors. 6 + - Default EUnit timeout increased to 60 seconds. 6 7 7 8 ## v1.5.1 - 2025-06-11 8 9
+4 -9
README.md
··· 1 1 # gleeunit 2 2 3 - A simple test runner for Gleam, using EUnit on Erlang. 3 + A simple test runner for Gleam, using EUnit on Erlang and a custom runner on JS. 4 4 5 - Documentation is available on [HexDocs](https://hexdocs.pm/gleeunit/index.html). 5 + [![Package Version](https://img.shields.io/hexpm/v/gleeunit)](https://hex.pm/packages/gleeunit) 6 + [![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/gleeunit/) 6 7 7 - ## Usage 8 - 9 - Add this package to your Gleam project. 10 8 11 9 ```sh 12 - gleam add gleeunit --dev 10 + gleam add gleeunit@1 --dev 13 11 ``` 14 - 15 - And then call the `gleeunit.main` function from your test main function. 16 - 17 12 ```gleam 18 13 // In test/yourapp_test.gleam 19 14 import gleeunit
+1 -1
gleam.toml
··· 1 1 name = "gleeunit" 2 - version = "1.5.1" 2 + version = "1.6.0" 3 3 licences = ["Apache-2.0"] 4 4 description = "A simple test runner for Gleam, using EUnit on Erlang" 5 5 repository = { type = "github", user = "lpil", repo = "gleeunit" }
+1 -1
src/gleeunit_ffi.erl
··· 7 7 lists:map(fun list_to_binary/1, Results). 8 8 9 9 run_eunit(Tests, Options) -> 10 - case eunit:test(Tests, Options) of 10 + case eunit:test({timeout, 60, Tests}, Options) of 11 11 ok -> {ok, nil}; 12 12 error -> {error, nil}; 13 13 {error, Term} -> {error, Term}