Skip to content
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

Supporting unit tests #13

Closed
NikitaMelnikov opened this issue Dec 7, 2017 · 0 comments
Closed

Supporting unit tests #13

NikitaMelnikov opened this issue Dec 7, 2017 · 0 comments
Assignees
Projects
Milestone

Comments

@NikitaMelnikov
Copy link
Contributor

I have a case when I would like to check expected and actual json

Get("some-route") ~> routes ~> check {
  responseAs[String] shouldBe """{"a": 1, "b": 2}"""
}

In this example in successful case my test will be failed because of json formatting.

Is there any method to collect all tokens from the stream to the Seq[Token] to compare json strings?

@eld0727 eld0727 self-assigned this Jan 26, 2018
@eld0727 eld0727 added this to the v0.6.3 milestone Jan 26, 2018
@eld0727 eld0727 added this to In progress in tethys Jan 26, 2018
@eld0727 eld0727 moved this from In progress to To Do in tethys Jan 26, 2018
@eld0727 eld0727 moved this from To Do to Done in tethys Jan 27, 2018
eld0727 added a commit that referenced this issue Jan 27, 2018
@eld0727 eld0727 closed this as completed Jan 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants