New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish FlowAssert as a library? #1416
Comments
I would consider it as a personal project
…On Wed, Jul 17, 2019 at 9:51 PM ychescale9 ***@***.***> wrote:
I like the FlowAssert test DSL
<https://github.com/square/sqldelight/blob/bd1957e85221a219a2b5cc2666f8bc3bdf674d23/extensions/coroutines-extensions/src/commonTest/kotlin/com/squareup/sqldelight/runtime/coroutines/FlowAssert.kt>
for its resemblance to the RxJava2 test API. Are there plans to publish it
as a standalone library / artifact or contribute to kotlinx.coroutines?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1416>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAQIEMQNVVZOE76ORRBWZ3P77ECVANCNFSM4IEWGCSA>
.
|
I found some limitations that I want to address. I'm still going to
filter-branch it out, release an 0.1, and update SQL Delight to use it.
I'll leave this issue open to track that.
…On Wed, Jul 17, 2019 at 11:25 PM Jake Wharton ***@***.***> wrote:
I would consider it as a personal project
On Wed, Jul 17, 2019 at 9:51 PM ychescale9 ***@***.***>
wrote:
> I like the FlowAssert test DSL
> <https://github.com/square/sqldelight/blob/bd1957e85221a219a2b5cc2666f8bc3bdf674d23/extensions/coroutines-extensions/src/commonTest/kotlin/com/squareup/sqldelight/runtime/coroutines/FlowAssert.kt>
> for its resemblance to the RxJava2 test API. Are there plans to publish it
> as a standalone library / artifact or contribute to kotlinx.coroutines?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#1416>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAAQIEMQNVVZOE76ORRBWZ3P77ECVANCNFSM4IEWGCSA>
> .
>
|
@JakeWharton when u do dis |
yeah let's do this |
Not sure what things will be taken into consideration for the published version of @Test
fun test() = runBlockingTest {
val values = fooFlow.collectToList {
// perform actions that result in emissions here
}
// Assert on the contents of the returned List here
} The similarity is that it too internally launches a collector Coroutine and uses a One thing I noticed is that when I used Hot |
I like the
FlowAssert
test DSL for its resemblance to the RxJava2 test API. Are there plans to publish it as a standalone library / artifact or contribute to kotlinx.coroutines?The text was updated successfully, but these errors were encountered: