-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Issue to track simplification of ZIO Test test results. Will work on this more once #1951 is merged. Things I am thinking about:
- Add an
Ignorecase toBoolAlgebra- This would let us have azerofor various combinators to combine assertions and I think could potentially allow us to unify some of our different types for test results. - Unify
TestSuccessandTestFailureinto one algebraic data type - Right nowZSpecandExecutedSpechas typeEither[TestFailure[E], TestSuccess[S]]whereTestFailureandTestSuccessthemselves have subtypes. If we got rid of theEitherand made this one hierarchy we could cut down on some boilerplate and provide some nice convenience methods for working with these types. - Potentially remove
TestFailure.Runtimecase from unexecuted specs. Now that all specs are effectual I think we want all failures to go in theEparameters of the effect and only capture failures as test results once we have executed the specs. - For executed specs, potentially build the test annotation map into the result type.
Metadata
Metadata
Assignees
Labels
No labels