Skip to content

Conversation

@Augustyniak
Copy link
Contributor

@Augustyniak Augustyniak commented Oct 2, 2024

Fixes BIT-3772

The new test organization will simplify running "core" tests and "URLSession integration" tests separately. This is important because the "URLSession integration" tests take longer and require real network requests (something we may consider optimizing in the future).

With "core" tests as a separate target, it should be easier to run tests while developing locally.

The changes are mostly reorganizational. The old "test" target was split into 3 targets:

  • core tests
  • URLSession integration tests
  • mocks
Screenshot 2024-10-04 at 10 12 47 AM

remoteErrorReporter: nil,
configuration: configuration,
sessionProvider: InMemorySessionProvider(sessionIDGenerator: { UUID().uuidString }),
sessionStrategy: .fixed(),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that benchmark app was broken so fixed it in here

@Augustyniak Augustyniak marked this pull request as ready for review October 4, 2024 14:12
@Augustyniak Augustyniak requested review from Reflejo and murki October 4, 2024 14:20
@Augustyniak Augustyniak merged commit b9dd94f into main Oct 10, 2024
@Augustyniak Augustyniak deleted the split-xcode-test-target-into-two branch October 10, 2024 15:13
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants