Skip to content

ulsa2/purescript-spec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PureScript Spec Build Status

PureScript Spec is a simple testing framework for Purescript, inspired by hspec.

Documentation

  • PureScript Spec - The Guide explains in detail how to use purescript-spec. You should probably start here.
  • purescript-spec on Pursuit features version information and API documentation.
  • BUILD.md lists build instructions for this project. Most likely not interesting unless your hacking on PureScript Spec itself.

Changelog

  • 0.11.0
    • Publish The Guide on GitHub pages
    • Collapse result entries in Maps to deduplicate describes, fixes #9
    • Reimplement Node reporters and runner using purescript-pipes. An upgrade might require a change in your main type signature. The type Test.Spec.Runner.RunnerEffects makes it more convenient to specify all effect rows:
      • When using regular specs, use main :: Eff (RunnerEffects ()) Unit
      • When using purescript-spec-discovery, use main :: Eff (RunnerEffects (fs :: FS)) Unit
  • 0.10.0
    • Defer test execution with Aff to have greater control. Test runners can either collect and run all tests, and then report their results, using the provided run and Reporter interface, or they can implement the test run in another way by collecting a Spec and running the Affs in some special way.
  • 0.9.0
    • Upgrade dependencies to 2.x
    • Require PureScript 0.10.x
  • 0.8.0
    • Compatibility with PureScript 0.9.1
  • 0.7.5
    • Bump dependency versions.
  • 0.7.4
    • Use purescript-node-process instead of custom PROCESS effect.
  • 0.7.2
    • Update purescript-strings for PS 0.7.4 compatibility.
    • Make all dependencies flexible.
    • Fix case statements to remove warnings.
  • 0.7.1
  • 0.7.0
    • Rename runNode to run and place it in Test.Spec.Runner.
    • Support browser testing.
  • 0.6.2
    • Add more assertions.
  • 0.6.1
    • Fix bug in shouldContain assertion for strings.
  • 0.6.0
    • Adapt for PureScript 0.7 compatibility.
  • 0.5.0
    • Make reporters pluggable.
  • 0.4.0
    • Add async support in it using Aff.

Contribute

If you have any issues or possible improvements please file them as GitHub Issues. Pull requests are encouraged.

License

MIT License.

Status

Get more details at codescene.io.

About

Simple testing framework for Purescript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PureScript 87.6%
  • JavaScript 7.1%
  • Makefile 3.6%
  • CSS 1.7%