sentry-unity
sentry-unity copied to clipboard
Make full use of Unity Test Framework
trafficstars
The unit testing setup is a bit brittle right now. Consider:
- [ ] Tests (especially integration tests that are sending events to Sentry) should add breadcrumbs with their name to help with debugging: https://github.com/getsentry/sentry-unity/pull/1208
- [ ] ~~Refactor
DisabledSelfInitializationTestsintoSentryTestBaseand make use ofOneTimeSetUpto disable the self-initialization. This would then need to be explicitly enabled in those tests that deal with self-initialization.~~ - [ ] Disable self-initialization through the
options configuration: https://github.com/getsentry/sentry-unity/pull/1207 - [ ] According to the docs, the UTF allows for running tests in a build. This would be an excellent place to run integration tests for i.e. IL2CPP