packages feed

chiasma-test-0.12.0.0: integration/Main.hs

module Main where

import Chiasma.Test.CaptureTest (test_capture)
import Chiasma.Test.ConcurrentTest (test_concurrent, test_notifications)
import Chiasma.Test.FindTest (test_find)
import Chiasma.Test.RenderTest (test_render)
import Chiasma.Test.TmuxTest (test_tmux)
import Chiasma.Test.Util (integrationTest)
import Test.Tasty (TestTree, defaultMain, testGroup)

tests :: TestTree
tests =
  testGroup "all" [
    integrationTest "basic tmux commands" test_tmux,
    integrationTest "find pane by ID" test_find,
    test_render,
    integrationTest "capture pane content" test_capture,
    integrationTest "concurrent tmux access" test_concurrent,
    integrationTest "tmux notifications" test_notifications
  ]

main :: IO ()
main =
  defaultMain tests