Popularity
1.9
Declining
Activity
0.0
Stable
3
1
2

Monthly Downloads: 7
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Data     Testing     Lenses     Lens     Other    
Latest version: v0.3.1

tasty-lens alternatives and similar packages

Based on the "lens" category.
Alternatively, view tasty-lens alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of tasty-lens or a related project?

Add another 'lens' Package

README

Tasty Lens

Hackage Version Build Status

Preassembled tasty TestTrees with sensible defaults for the validation of:

  • Lens
  • Setter
  • Traversal
  • Iso
  • Prism

Although these tests offer weaker guarantees compared to manually proving the laws through equational reasoning, they can still be useful for regression testing where you don't want to manually proof every time you make a slight change that could affect the laws.

It uses smallcheck-lens under the hood. If you don't find any functions to create the TestTrees you are looking for, you may want to use the smallcheck-lens package directly. In such case you can still check this package as a reference to implement your own smallcheck-lens TestTrees.

Check the tests in this package for usage examples.

Contact

Contributions and bug reports are welcome!

Please feel free to contact jdnavarro on the #haskell IRC channel on irc.freenode.net.