Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Quick/Nimble
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.0.0
Choose a base ref
...
head repository: Quick/Nimble
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v11.0.0
Choose a head ref
  • 11 commits
  • 194 files changed
  • 3 contributors

Commits on May 31, 2022

  1. Add support for watchOS (#916)

    * Add preliminarily support for watchOS
    
    * Run watchOS tests on GitHub CI
    
    * Disable bitcode for watchOS
    
    XCTest does not support bitcode
    
    * Weakly link XCTest and XCTestSwiftSupport
    
    * Set deployment target to watchOS 7.4
    
    Testing is only supported on watchOS 7.4 or later (see https://developer.apple.com/documentation/xcode-release-notes/xcode-12_5-release-notes)
    
    * Increase watchOS version to 7.4
    
    * Enable ThrowAssertionTest on watchOS
    
    Similar to tvOS the debugger cannot be used during tests
    
    * Re-add support for watchOS
    
    * Set watchOS deployment target to 5.0, update Podspec
    
    Co-authored-by: Rachel Brindle <you@subluminal.net>
    JosephDuffy and younata authored May 31, 2022
    Configuration menu
    Copy the full SHA
    44b9392 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Configuration menu
    Copy the full SHA
    e313d9a View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Configuration menu
    Copy the full SHA
    daad10d View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Expose whether an expectation has passed and provide an option to thr…

    …ow (#995)
    
    * Add a property to track expectation failures
    
    * Return expectations from async methods
    
    * Add `onFailure(throw:)`
    
    * Use the assertion handler to support testing.
    
    * Test statuses
    
    * Add tests for throwing
    bnickel authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    6861b27 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Raise minimum required OS and Swift Versions to Async-Support version…

    …s. (#999)
    
    * Update minimum versions
    
    - Swift is now 5.6 and later
    - Xcode is now 13.3.1 and later
    - iOS is now 13 and later
    - tvOS is now 13 and later
    - watchOS is now 6 and later
    - macOS is now 10.15 and later
    
    * Quote the developer dir env variable in ci
    
    * run CI on macos 12, not 11
    
    * The API for NSHastTable.description is not guaranteed to be the same between OS or xcode versions. Or even platforms
    
    * Apparently apple changed the naming for later versions of watch simulators
    younata authored Oct 21, 2022
    Configuration menu
    Copy the full SHA
    1a22f49 View commit details
    Browse the repository at this point in the history
  2. Don't strip whitespace from appended newlines (#1001)

    Also, haveCount with NMBCollections no longer uses append(details:) to append the actual value.
    younata authored Oct 21, 2022
    Configuration menu
    Copy the full SHA
    865d467 View commit details
    Browse the repository at this point in the history
  3. Allow toEventually to run on background threads (#1000)

    The AssertionWaitLock now ensures the wait info is only accessible from 1 thread at a time. Which should prevent the need to lock it to the main thread.
    younata authored Oct 21, 2022
    Configuration menu
    Copy the full SHA
    719a5fa View commit details
    Browse the repository at this point in the history
  4. Allow using async/await in expect (#1004)

    This changes Expectation into a protocol, and converts the old Expectation struct into SyncExpectation and AsyncExpectation.
    Expression is still synchronous, and toEventually is dropped for AsyncExpectations.
    Additionally, renamed the older Async methods to Polling to try to reduce confusion as to what toEventually actually does.
    
    Updated documentation, both to explain what toEventually actually does, and to elaborate that Nimble supports async/await.
    younata authored Oct 21, 2022
    Configuration menu
    Copy the full SHA
    4e2015a View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. Get toEventually et al working in async contexts. (#1007)

    * Add tests for toEventually on MainActor
    
    * Provide an async-compatible version of SyncExpectation.toEventually
    
    * Share predicate result and poll result processing between async and nonasync versions of poll
    
    * Get rid of noasync
    
    - It's not available until Swift 5.7
    - It was more useful during development than it will be for actual usage.
    
    * Fix all swiftlint warnings
    younata authored Oct 31, 2022
    Configuration menu
    Copy the full SHA
    b0b0816 View commit details
    Browse the repository at this point in the history
  2. [v11] build docs

    younata committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    6570bfd View commit details
    Browse the repository at this point in the history
  3. v11.0.0 version bump

    younata committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    3dee47f View commit details
    Browse the repository at this point in the history
Loading