Elm

Packages

yarn global add elm-test elm-live elm-oracle
elm-test init
elm-package install elm-lang/html

Tests

http://package.elm-lang.org/packages/elm-community/elm-test/latest


module Example exposing (..)

import Expect exposing (Expectation)
import Fuzz exposing (Fuzzer, int, list, string)
import Test exposing (..)


suite : Test
suite =
        describe "my tests"
                [ test "test fail" <|
                        \_ ->
                                "a" |> Expect.equal "a"
                , test "test list equal" <|
                        \_ ->
                                [ 1, 2 ] |> Expect.equal [ 1, 2 ]
                , test "test tupel equal" <|
                        \_ ->
                                ( 1, 2 ) |> Expect.equal ( 1, 2 )
                , test "test all" <|
                        \_ ->
                                Expect.all [ Expect.equal ( 1, 2 ) ] ( 1, 2 )
                ]

Beginner Program

type Msg
        = NoOp


type alias Model =
        {}


main : Program Never Model Msg
main =
        Html.beginnerProgram { view = view, update = update, model = model }


model : Model
model =
        {}


update : Msg -> Model -> Model
update msg model =
        model


view : Model -> Html Msg
div [] []

Ctags

https://raw.githubusercontent.com/kbsymanz/ctags-elm/master/.ctags