hibri / HttpMock

A library for creating Http servers on the fly in tests and stubbing responses
MIT License
128 stars 44 forks source link

We could use the AAA Pattern #104

Closed neiesc closed 5 years ago

neiesc commented 5 years ago

https://medium.com/@pjbgf/title-testing-code-ocd-and-the-aaa-pattern-df453975ab80

What do you think?

hibri commented 5 years ago

The tests are written in that pattern, even if they are not explicitly called out. :)

neiesc commented 5 years ago

I saw, but what do you think of being called AAA?

hibri commented 5 years ago

I don't see the need to call it out via extra comments, as long as the test is structured in that way.

neiesc commented 5 years ago

alright.