# Tests not giving good error info

**URL:** <https://discourse.julialang.org/t/tests-not-giving-good-error-info/48389>\
**Category:** General Usage\
**Tags:** testing\
**Created:** [October 14, 2020, 8:01pm UTC](https://discourse.julialang.org/t/tests-not-giving-good-error-info/48389 "2020-10-14T20:01:47Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [October 15, 2020, 3:35pm UTC](https://discourse.julialang.org/t/tests-not-giving-good-error-info/48389/10 "2020-10-15T15:35:11Z")

</div>

How do you run these tests? I see:

```julia
julia> @test just_error()
Error During Test at REPL[4]:1
  Test threw exception
  Expression: just_error()
  Just an error. # your error message <------------------
  Stacktrace:
   [1] error(::String) at ./error.jl:33
   [2] just_error() at ./REPL[2]:1
   [3] top-level scope at REPL[4]:1
   [4] eval(::Module, ::Any) at ./boot.jl:331
    ....

```

---

_[View the full topic](https://discourse.julialang.org/t/tests-not-giving-good-error-info/48389)._
