Julia Programming Language
Using @test_throws for any error/excpeption
General Usage
testing
,
error
,
exception
,
exceptions
jishnub
December 13, 2022, 6:02pm
2
You can specify the error type as
Exception
, which should catch all errors
show post in topic
Related topics
Topic
Replies
Views
Activity
@test_throws make it difficult to debug unexpected exceptions
General Usage
0
256
September 4, 2021
@test_warn, @test_nowarn, and @test_nothrow
General Usage
testing
6
1572
January 27, 2017
Test macro that checks no exception was thrown?
General Usage
3
1422
August 11, 2023
Catching exceptions by type
General Usage
question
,
syntax
,
exception
2
1797
September 3, 2017
How to test a default `error(...)` raising method's message
New to Julia
11
6507
January 8, 2019