DCzajkowski
Snapshy - an EXUnit library for writing snapshot tests
Hello everyone!
I have created a simple library for creating snapshot-tests ![]()
Please let me know what you think ![]()
The repository is available here.
If you are curious what snapshot testing is, you can check a simple explanation here.
If you want to see how it’s used, here is a project I am using it in (it’s a college-work, so nothing too serious) here.
Have a nice day everyone ![]()
Darek
Most Liked
DCzajkowski
This is because the name of the file is created from the test name. Adding support for multiple calls is absolutely the next step!
I was not aware of AssertValue. It looks really cool, to be honest. The difference I can see is that the assertion value is stored in the test itself, not in a separate file. It has its benefits and drawbacks. Another difference would be that AssertValue is interactive, whereas Snapshy is not. It’s not a good/bad thing, but a difference for sure.
I will explore AssertValue more. Thanks for sharing!
Popular in Announcing
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









