Skip to content

Commit b419775

Browse files
committed
Update changelog
1 parent 6b54d5a commit b419775

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,30 @@
4545
- Move envelope item processing/trimming logic to the Item class [#1824](https://github.com/getsentry/sentry-ruby/pull/1824)
4646
- Replace sentry-ruby-core with sentry-ruby as integration dependency [#1825](https://github.com/getsentry/sentry-ruby/pull/1825)
4747
48+
### Test Helpers
49+
50+
The SDK now provides a set of [test helpers](https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/test_helper.rb) to help users setup and teardown Sentry related tests.
51+
52+
To get started:
53+
54+
```rb
55+
require "sentry/test_helper"
56+
57+
# in minitest
58+
class MyTest < Minitest::Test
59+
include Sentry::TestHelper
60+
# ...
61+
end
62+
63+
# in RSpec
64+
RSpec.configure do |config|
65+
config.include Sentry::TestHelper
66+
# ...
67+
end
68+
```
69+
70+
It's still an early attempt so please give us feedback in [#1680](https://github.com/getsentry/sentry-ruby/issues/1680).
71+
4872
## 5.3.1
4973

5074
### Bug Fixes

0 commit comments

Comments
 (0)