On error, a stacktrace is displayed:
stacktrace:
(elixir) lib/gen_server.ex:924: GenServer.call/3
test/leverex/loans/loan_server_test.exs:193: (test)
Same stacktrace, but without colons (":")
stacktrace:
(elixir) lib/gen_server.ex:924 GenServer.call/3
test/leverex/loans/loan_server_test.exs:193 (test)
When a single test fails, I copy the last line from stacktrace and re-run the test with mix test.watch {filename}
. Currently, I have to remove the ":" manually, which is a slight annoyance, but it add up over time.
Error:
at /Users/cfisher/Git/squashed/execProcess.js:6:17
at ChildProcess.exithandler (child_process.js:213:5)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Socket.<anonymous> (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:498:12)
Recover from panic: Fake error!
Stack of 402 bytes: goroutine 1 [running]:
main.func·001()
/Users/mbutcher/Code/Go/src/scratch/stack.go:21 +0xab
runtime.panic(0x80b80, 0x2101fb150)
/usr/local/Cellar/go/1.2/libexec/src/pkg/runtime/panic.c:248 +0x106
main.inner()
/Users/mbutcher/Code/Go/src/scratch/stack.go:27 +0x68
main.outer()
/Users/mbutcher/Code/Go/src/scratch/stack.go:13 +0x1a
main.main()
/Users/mbutcher/Code/Go/src/scratch/stack.go:9 +0x1a
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/64507398-b7ff-4480-a8be-826d46659693%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-core/dBQQ8UBKMpQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAK-y3CtpoZCNGbNGdmPbtg%3DH%2Bgh%2BKJGn%2BYABeKPuqs%3DdgD50SA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.