Popularity
4.5
Declining
Activity
0.0
Stable
8
3
0
Monthly Downloads: 1
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Latest version: v0.4.1
hspec-server alternatives and similar packages
Based on the "hspec" category.
Alternatively, view hspec-server alternatives based on common mentions on social networks and blogs.
-
hspec-expectations-json
Hspec expectations on JSON Values -
hspec-golden-aeson
Use tests to monitor changes in Aeson serialization -
hspec-attoparsec
utility functions for testing attoparsec parsers with hspec -
hspec-megaparsec
Utility functions for testing Megaparsec parsers with Hspec -
hspec-test-framework
Run test-framework tests with Hspec -
hspec-hedgehog
Hedgehog support for the Hspec testing framework -
hspec-expectations-match
An hspec expectation that asserts a value matches a pattern -
hspec-expectations-pretty-diff
Catchy combinators for HUnit +++ colored pretty-printed diffs -
hspec-leancheck
LeanCheck support for the Hspec test framework. -
hspec-multicheck
A testing framework for Haskell using Hspec
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
Do you think we are missing an alternative of hspec-server or a related project?
README
Hspec-Server: Test Framework like ServerSpec for Haskell
Hspec-Server is test framework for checking server's status. It is inspired by the Ruby library ServerSpec.
Getting started
Install this from Hackage.
cabal update && cabal install hspec-server
Usage
Put "with(ServerType)" after hspec's describe-sentence. Currently localhost, ssh , vagrant and docker(>=1.4.1) are supported for ServerType. Examples are below. "@>=" is like hspec's shouldBe. it can check multiple values.
describe "test for localhost" $ with localhost $ do
it "package zookeepr" $ do
package "zookeeper" @>= installed
it "port test" $ do
port 2181 @>= listening
it "service test" $ do
service "cron" @>= running
it "command test" $ do
command "echo" ["hoge"] [] @>= exit 0 <> stdout "hoge\n"
describe "test for vagrant" $ with (vagrant "servername") $ do
it "port test" $ do
port 2181 @>= listening
describe "test for docker" $ with (docker "containerId") $ do
it "port test" $ do
port 2181 @>= listening