-
Couldn't load subscription status.
- Fork 1.4k
Project settings (sbt + ci) #2
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
221321d to
6df29b1
Compare
|
Ping me for Sonatype credentials for your |
|
@NeQuissimus will do. Thanks! |
|
@ktonga Should this be closed? |
|
let me squash it and i'll merge it right after CI finishes. Please approve it. |
- Use std types internally - Expose church-encoded API
ioleo
added a commit
to ioleo/zio
that referenced
this pull request
Sep 8, 2019
ioleo
added a commit
to ioleo/zio
that referenced
this pull request
Sep 8, 2019
ioleo
added a commit
to ioleo/zio
that referenced
this pull request
Sep 8, 2019
ioleo
added a commit
to ioleo/zio
that referenced
this pull request
Sep 9, 2019
ioleo
added a commit
to ioleo/zio
that referenced
this pull request
Sep 12, 2019
ghostdogpr
pushed a commit
that referenced
this pull request
Sep 12, 2019
* Add ZIO.assert
The `assert` combinator is useful for introducing mock-style assertions in your tests.
Example use case:
* you have a `Command` type method which takes some parameters
* you want to check if it was called with expected arguments
* you do not want to introduce heavy libraries like Mockito
```scala
def send(recipient: String, content: String): ZIO[R, InvalidEmailAddress, Unit]
// for test purposes be implemented as follows
def send(recipient: String, content: String) =
UIO.unit
.assert(recipient == "[email protected]", s"""Invalid recipient $recipient, expected "[email protected]".""")
.assert(content == "lorem ipsum dolor sit amet", s"""Invalid content $content, expected "lorem ipsum dolor sit amet".""")
```
@adamgfraser We might also have some special handling for `AssertionError` in `zio-test`, to replace long stack trace (for failed fiber) with a shorter one. What do you think?
* CS fix
* Code review
* Code review #2
* Die with zio.AssertionFailure
* Disable trace reporting
* Reduce PR scope
XLPI
referenced
this pull request
in XLPI/zio
Sep 21, 2019
regiskuckaertz
pushed a commit
that referenced
this pull request
Sep 21, 2019
* Migrate all tests to ZIO Test #1647 - ExecutorSpec * Migrate all tests to ZIO Test #1647 - ExecutorSpec, patch #2 * Migrate all tests to ZIO Test #1647 - ExecutorSpec, patch #3 * Migrate all tests to ZIO Test #1647 - ExecutorSpec, patch #4 * #1647-ExecutorSpec * Migrate all tests to ZIO Test #1647 - ExecutorSpec, patch #5 * Migrate all tests to ZIO Test #1647 - ExecutorSpec, patch #6 * Migrate all tests to ZIO Test #1647 - ExecutorSpec, patch #7
ioleo
added a commit
to ioleo/zio
that referenced
this pull request
Mar 10, 2020
ioleo
added a commit
to ioleo/zio
that referenced
this pull request
Mar 10, 2020
ioleo
added a commit
to ioleo/zio
that referenced
this pull request
Mar 10, 2020
ioleo
added a commit
to ioleo/zio
that referenced
this pull request
Mar 10, 2020
jdegoes
pushed a commit
that referenced
this pull request
Mar 11, 2020
* Composable mocks * ZIO Mock replace implicits with ZLayer * Examples & docs * Fix 2.11 warnings * Fix cyclic reference issue on 2.11 * Code review * Code review #2 * Refactor * mdoc:silent
tkawachi
added a commit
to tkawachi/zio
that referenced
this pull request
Oct 26, 2022
promisingcoder
added a commit
to promisingcoder/zio
that referenced
this pull request
Jun 14, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.