Skip to content

gren-lang/test-runner-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-runner-node

This package allows you to execute tests and output the results to the terminal.

To define the actual tests, you'll need to use the gren-lang/test package.

Quick start

A minimal test program will have the following in a Main.gren file:

module Main exposing (main)

import Expect
import Test exposing (describe, test)
import Test.Runner.Node exposing (Program, run)

main : Program
main =
    run <|
        describe "All tests"
            [ test "Failing test" <| \_ ->
                Expect.equal True False
            ]

About

Runs gren-lang/test suites on node

Resources

License

Stars

Watchers

Forks

Packages

No packages published