Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ktonga
Copy link
Contributor

@ktonga ktonga commented May 20, 2018

No description provided.

@ktonga ktonga force-pushed the project-settings branch 2 times, most recently from 221321d to 6df29b1 Compare May 20, 2018 12:16
@ktonga ktonga changed the base branch from history to master May 20, 2018 12:36
@ktonga ktonga changed the title WIP: Project settings (sbt + ci) Project settings (sbt + ci) May 20, 2018
@ktonga ktonga force-pushed the project-settings branch from 6df29b1 to 26e5164 Compare May 20, 2018 12:39
@NeQuissimus
Copy link
Member

Ping me for Sonatype credentials for your .travis.yml when you need them, will happily provide.

@ktonga
Copy link
Contributor Author

ktonga commented Jun 3, 2018

@NeQuissimus will do. Thanks!

@jdegoes
Copy link
Member

jdegoes commented Jun 4, 2018

@ktonga Should this be closed?

@ktonga
Copy link
Contributor Author

ktonga commented Jun 4, 2018

let me squash it and i'll merge it right after CI finishes. Please approve it.

- Use std types internally
- Expose church-encoded API
@ktonga ktonga force-pushed the project-settings branch from 06d1b6c to c1f5fe7 Compare June 4, 2018 17:32
@ktonga ktonga merged commit 20d9f14 into master Jun 4, 2018
@ktonga ktonga deleted the project-settings branch June 4, 2018 17:37
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
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
Before this change, the message looked like the one below, which was difficult to interpret:
Interrupted by fibers: #S, zio#4, zio#3, #t, zio#5, zio#2, #(, #e, #)
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants