purescript-spec / Purescript Spec
Licence: mit
Testing framework for Purescript
Stars: ✭ 108
Programming Languages
purescript
368 projects
Projects that are alternatives of or similar to Purescript Spec
Returns
Make your functions return something meaningful, typed, and safe!
Stars: ✭ 2,015 (+1765.74%)
Mutual labels: type-safety, functional-programming
Topshell
TopShell - a purely functional, reactive scripting language
Stars: ✭ 422 (+290.74%)
Mutual labels: type-safety, functional-programming
Pfun
Functional, composable, asynchronous, type-safe Python.
Stars: ✭ 75 (-30.56%)
Mutual labels: type-safety, functional-programming
Faux Pas
A library that simplifies error handling for Functional Programming in Java
Stars: ✭ 100 (-7.41%)
Mutual labels: functional-programming
Orkestra
Functional DevOps with Scala and Kubernetes
Stars: ✭ 102 (-5.56%)
Mutual labels: functional-programming
React Collection Helpers
A suite of composable utility components to manipulate collections.
Stars: ✭ 109 (+0.93%)
Mutual labels: functional-programming
Mainecoon
Transform and compose tagless final encoded algebras in scala
Stars: ✭ 100 (-7.41%)
Mutual labels: functional-programming
Fsconfig
FsConfig is a F# library for reading configuration data from environment variables and AppSettings with type safety.
Stars: ✭ 108 (+0%)
Mutual labels: functional-programming
Forge
Functional style JSON parsing in Kotlin
Stars: ✭ 106 (-1.85%)
Mutual labels: functional-programming
Cats Stm
An STM implementation for Cats Effect
Stars: ✭ 106 (-1.85%)
Mutual labels: functional-programming
Beanmother
A library for setting up Java objects as test data.
Stars: ✭ 102 (-5.56%)
Mutual labels: test-driven-development
Functionaljava
Functional programming in Java
Stars: ✭ 1,472 (+1262.96%)
Mutual labels: functional-programming
Refactoring Android App Series Overview
Overview of wonderful series started by Oday and Rakesh for refactoring android application under youtube channel Dry Code.
Stars: ✭ 101 (-6.48%)
Mutual labels: test-driven-development
Python Memoization
A powerful caching library for Python, with TTL support and multiple algorithm options.
Stars: ✭ 109 (+0.93%)
Mutual labels: functional-programming
Java8 Guides Tutorials
Java 8 Guides and Tutorials - A lot of awesome examples using Java 8 features like Stream, Lambda, Functional Interface, Date and Time API and much more
Stars: ✭ 100 (-7.41%)
Mutual labels: functional-programming
Clear Config
Scala FP configuration library with a focus on runtime clarity
Stars: ✭ 108 (+0%)
Mutual labels: functional-programming
Parapet
A purely functional library to build distributed and event-driven systems
Stars: ✭ 106 (-1.85%)
Mutual labels: functional-programming
Akka Stream Eventsourcing
Event sourcing for Akka Streams
Stars: ✭ 105 (-2.78%)
Mutual labels: functional-programming
Pattern Matching Ts
⚡ Pattern Matching in Typescript
Stars: ✭ 107 (-0.93%)
Mutual labels: functional-programming
PureScript Spec
PureScript Spec is a 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
-
4.0.0
- Rename
run
andrun'
torunSpec
andrunSpecM
. - Run tests in
Aff
instead ofEffect
. - New assertions:
- Aff:
expectError
,shouldReturn
,shouldNotReturn
- String:
shouldContain
,shouldNotContain
,shouldStartWith
,shouldEndWith
- Aff:
- Parallel test execution /
parallel
andsequential
combinators - Hooks:
aroundWith
,around
,around_
,before
,before_
,beforeWith
,beforeAll
,beforeAll_
,after
,after_
,afterAll
,afterAll_
- Upgrade to PureScript 0.13.x.
- Rename
-
3.1.0
- Add
shouldSatisfy
assertion and complement, add exit flag to runner config
- Add
-
3.0.0
- Upgrade to PureScript 0.12.x, which is non-backwards compatible to 0.11.x.
-
2.0.0
- Update to purescript-aff 4
-
1.0.0
- No additions from 0.14.0.
-
0.14.0
- Remove unused "slow" from Dot reporter config
-
0.13.0
- Upgrade to PureScript 0.11.x, which is non-backwards compatible to 0.10.x.
-
0.12.4
- Upgrade to purescript-pipes 2.1.0
-
0.12.3
- Export and document
run'
function (for configuration), fixes #38
- Export and document
-
0.12.2
- Reexport common reporters in
Test.Spec.Reporter
module, fixes #37
- Reexport common reporters in
-
0.12.1
- Move array of results to runner event, fixes #36
-
0.12.0
- Again support multiple reporters, fixes #33
-
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 typeTest.Spec.Runner.RunnerEffects
makes it more convenient to specify all effect rows:- When using regular specs, use
main :: Effect Unit
- When using purescript-spec-discovery, use
main :: Effect Unit
- When using regular specs, use
-
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
andReporter
interface, or they can implement the test run in another way bycollect
ing aSpec
and running theAff
s in some special way.
- 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
-
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.
- Use
-
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
- Workaround for escape sequence bug in
psc-bundle
, see:
- Workaround for escape sequence bug in
-
0.7.0
- Rename
runNode
torun
and place it inTest.Spec.Runner
. - Support browser testing.
- Rename
-
0.6.2
- Add more assertions.
-
0.6.1
- Fix bug in
shouldContain
assertion for strings.
- Fix bug in
-
0.6.0
- Adapt for PureScript 0.7 compatibility.
-
0.5.0
- Make reporters pluggable.
-
0.4.0
- Add async support in
it
usingAff
.
- Add async support in
Contribute
If you have any issues or possible improvements please file them as GitHub Issues. Pull requests are encouraged.
License
Status
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].