miquido / futura

Asynchronous Swift made easy. The project was made by Miquido. https://www.miquido.com/
Apache License 2.0
34 stars 3 forks source link

Test framework #42

Closed KaQuMiQ closed 5 years ago

KaQuMiQ commented 5 years ago

There will be a new target intended to support async testing. There are some extra things that will be added like Atomic flag and some targets cleanup.

Test extensions will allow making expectations on Future and Signal.

KaQuMiQ commented 5 years ago

Code coverage will be dropped now but I hope that we can recover at least 99% when everything is done.

codecov-io commented 5 years ago

Codecov Report

Merging #42 into master will decrease coverage by 0.61%. The diff coverage is 86.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage     100%   99.38%   -0.62%     
==========================================
  Files          21       22       +1     
  Lines         618      648      +30     
==========================================
+ Hits          618      644      +26     
- Misses          0        4       +4
Impacted Files Coverage Δ
Sources/Futura/Synchronization/RecursiveLock.swift 86.66% <0%> (-13.34%) :arrow_down:
Sources/Futura/Atomic/AtomicFlag.swift 100% <100%> (ø)
Sources/Futura/Synchronization/Mutex.swift 94.73% <88.23%> (-5.27%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 89f8c31...4d6615a. Read the comment docs.

KaQuMiQ commented 5 years ago

Test support for signals will be added later