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

JDD W1D0 separate testing body & the end of HTTP response. #156

Open
2 tasks
seralekseenko opened this issue Jan 18, 2022 · 0 comments
Open
2 tasks

JDD W1D0 separate testing body & the end of HTTP response. #156

seralekseenko opened this issue Jan 18, 2022 · 0 comments
Labels
JDD-improvments Something to improve the java Deep Dive

Comments

@seralekseenko
Copy link
Member

Тесты, на данный момент ожидают длинну тела HTTP ответа вместе с учетом "конца" HTTP ответа в виде "\r\n\r\n".

Пояснение "на пальцах".

Вот тело HTTP-ответа: <b>It works!</b> — длина 16 символов.
Но тест ожидает <b>It works!</b>\r\n\r\n — длина 20 символов.

Что нужно сделать:

  • отдельно тестировать длину тела ответа и его содержимое, возможно рандомизировать/разнообразить варианты тел ответа.
  • отдельно протестировать конец HTTP-ответа на наличие \r\n\r\n.
@seralekseenko seralekseenko added JCB-improvments Something to improve the Java Coding Bootcamp JDD-improvments Something to improve the java Deep Dive and removed JCB-improvments Something to improve the Java Coding Bootcamp labels Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JDD-improvments Something to improve the java Deep Dive
Projects
None yet
Development

No branches or pull requests

1 participant