Latest #doctest Threads 
Considering that the order of Map keys isn’t guaranteed, is there any reliable way to check KeyErrors in doctests?
Doctest failed: wron...
New
There is exvcr and there are doctests. Can they be married somehow?
New
I recently noticed in our codebase had some iex> usage in doc strings, but those modules did not have a corresponding ExUnit.DocTest.d...
New
Hi everybody! :slight_smile:
When trying to use doctests in Livebook, I get this error:
** (ExUnit.DocTest.Error) #cell:brdghoceywtzil2...
New
Hi,
I’m wondering if there is some way to put some custom / detailed name to the tests using the DocTest, in order to be showed on the c...
New
Hi there! :wave: It’s me again!
Lately I’ve been working on documentation for the project, including adding some context function usage...
New
Is there a way to not run the setup callback during doctests? For example, I’d like to have a test .exs file that both runs doctests usin...
New
I’ve been doing the Get Started elixir. I’m currently going part 9 of MIX AND OTP, but I am having an error with the Doctests that I cann...
New
The Elixir ecosystem has very convenient and powerful facilities for documenting code. These include Markdown, doctests, module attribute...
New
I’m using VSCode, and syntax highlighting doesn’t work with .exs files.
Confoundingly, it seems that mix test will only include .exs fil...
New
This Week's Trending
This Month's Trending
This Year's Trending
Considering that the order of Map keys isn’t guaranteed, is there any reliable way to check KeyErrors in doctests?
Doctest failed: wron...
New
Last Three Year's Trending
I put together a Livebook that illustrates using a package. The Livebook has been a great addition to all the usual documentation, and g...
New
There is exvcr and there are doctests. Can they be married somehow?
New
Trending Over Three Years
I am working on the MapDiff library, so it works better when structs are passed to it.
I wrote the following two doctests:
iex> de...
New
I have the following module where as I developed the code I was using doctests to verify if the function did what I expected. The problem...
New
I have read doc test documentation. And apply it in my project but I couldn’t figure this out.
If my output is very long like a query th...
New
So today I came across doctest and it is really awesome! But while learning about it I was thinking about edge cases. One of those could ...
New
I’ve been doing the Get Started elixir. I’m currently going part 9 of MIX AND OTP, but I am having an error with the Doctests that I cann...
New
I’m using VSCode, and syntax highlighting doesn’t work with .exs files.
Confoundingly, it seems that mix test will only include .exs fil...
New
Hi!
I spent some hours the last few days to put together a simple helper to check that code examples in README.md files can actually be ...
New
Hey everybody! I’m coming back at Elixir again after maybe a year of not being able to jump into my web development hobby. I wanted to ge...
New
I’m building a very simple application, every time you call ModuleX.get(id) the system perform the folowing actions:
Search for id on d...
New
Is there a way to not run the setup callback during doctests? For example, I’d like to have a test .exs file that both runs doctests usin...
New
Hi
I’ve recently faced a problem with doc tests on html documents:
Here is my code and docs:
@doc """
Does something good!
## Example...
New
Hi everybody! :slight_smile:
When trying to use doctests in Livebook, I get this error:
** (ExUnit.DocTest.Error) #cell:brdghoceywtzil2...
New
Hi,
I recently wrapped an Elixir app with a plug_cowboy endpoint. Everything is working fine, but when I do:
mix test
just the tests...
New
The Elixir ecosystem has very convenient and powerful facilities for documenting code. These include Markdown, doctests, module attribute...
New
Hi there! :wave: It’s me again!
Lately I’ve been working on documentation for the project, including adding some context function usage...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
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
- #javascript
- #podcasts
- #code-sync
- #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








