smock is a silly mocking framework for Haskell functions. It is the result of experimentation and exploration. I do not recommend that you use it. Writing code with it is cumbersome, and if you need to mock a function in Haskell it is probably better to explicitly mock it by making the function a parameter. It is thus "silly" in the technical sense that I neither want nor need this. Nevertheless, I think this code is interesting since mocking is very popular for unit testing in other languages, and I have not found other Haskell packages that do mocking similarly.
-
Notifications
You must be signed in to change notification settings - Fork 0
License
rgleichman/smock
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published