Skip to content

Make full use of Unity Test Framework #1177

Open
@bitsandfoxes

Description

@bitsandfoxes

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: feat: Tests add breadcrumbs during setup #1208
  • Refactor DisabledSelfInitializationTests into SentryTestBase and make use of OneTimeSetUp to 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: chore: Replacing method of disabling the SDK during tests #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

Metadata

Metadata

Assignees

No one assigned

    Projects

    • Status

      Needs Discussion
    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions