allan-simon / sentence-aligner-rust

rest service + frontend to align sentences , in rust
13 stars 1 forks source link

In tests, create helper functions to make tests as clear as possible #62

Closed jean553 closed 6 years ago

jean553 commented 6 years ago

This issue has been created due to the following comment:


80 lines for a test, with a lot of mundane (i.e low non-functional details ) happening , makes the test very obscure to understand.

  @allan-simon
allan-simon 14 days ago  Owner
don't hesitate to create helper functions to outsource low details outside of the "reading" path.```
jean553 commented 6 years ago

This is done due to the usage of the interface-tests-helpers library.