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
Port more tests to munit #3983
Port more tests to munit #3983
Conversation
Signed-off-by: Carlos Quiroz <carlos.m.quiroz@gmail.com>
body: String | ||
) | ||
|
||
// test("FollowRedirect should ggfollow the proper strategy") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test was marked as pending and it is a bit hard to port as it uses the Tables
feature of spec. Instead I just commented it out. Perhaps it should be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop it for now. #3986 so it can be revived later, if we can.
EntityEncoder.simple[IO, ErrorJson](`Content-Type`(MediaType.application.json))(json => | ||
Chunk.bytes(json.value.getBytes())) | ||
|
||
// TODO: These won't work without an Eq for (Message[IO], Boolean) => DecodeResult[IO, A] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was commented in the original
assert(EntityDecoder.text[IO].matchesMediaType(MediaType.text.css)) | ||
} | ||
|
||
/* TODO: Parameterization |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was commented in the original
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. This is a thankless task, but I think it's moving us toward a better place.
Do you want to take care of the merges again? I already did dotty, because it was trivial. |
Sure I'm do main and cats effect 3 which I guess will still not compile |
Port more tests to munit
Port more tests to munit
Port more tests to munit
This is another batch of tests ported to munit focused on tests using
Http4sLegacyMatchers
. I hope with another batch I can remove the legacy matcher classes.