move Run.elm to All.elm and use Run.elm as a dynamically generated file

This commit is contained in:
Elm UI Automation 2020-05-15 09:21:25 -04:00
parent 34447883a8
commit 08a7cbeb00

View File

@ -0,0 +1,33 @@
module Tests.All exposing (main)
{-| -}
import Testable.Generator
import Testable.Runner
import Tests.Basic
import Tests.ColumnAlignment
import Tests.ColumnSpacing
import Tests.ElementAlignment
import Tests.Nearby
import Tests.RowAlignment
import Tests.RowSpacing
import Tests.TextWrapping
import Tests.Transparency
main : Testable.Runner.TestableProgram
main =
(Testable.Runner.program << List.concat)
[ -- Testable.Generator.element "Basics" []
-- Tuple.pair "Basic Element" Tests.Basic.view
-- , Tuple.pair "Nearby" Tests.Nearby.view
-- , Tuple.pair "Element Alignment" Tests.ElementAlignment.view
-- , Tuple.pair "Transparency" Tests.Transparency.view
-- , Tuple.pair "Column Alignment" Tests.ColumnAlignment.view
-- -- This has 12k cases, so it runs slow and sometimes crashes IE
-- , Tuple.pair "Row Alignment" Tests.RowAlignment.view
-- , Tuple.pair "Column Spacing" Tests.ColumnSpacing.view
-- , Tuple.pair "Row Spacing" Tests.RowSpacing.view
[ Tuple.pair "Paragraph wrapping" Tests.TextWrapping.view
]
]