closure-library icon indicating copy to clipboard operation
closure-library copied to clipboard

Documentation about unit testing

Open jkevingutierrez opened this issue 7 years ago • 3 comments

It would be great to have some documentation about how to test modules using closure-library, having some examples.

jkevingutierrez avatar Mar 07 '19 03:03 jkevingutierrez

Hey, sorry for the delayed response! Do you mean specifically issues with modules (e.g. mocking out modules), or just unit testing in general (e.g. how to use junit / assertions / mocks)?

jplaisted avatar Mar 25 '19 19:03 jplaisted

The tests accompanying the implementation for mocks and assertions (in good.labs.mock and goog.labs.testing, for example) also serve as good clues on how to use the utilities to mock and use assertions.

ghost avatar Feb 29 '20 14:02 ghost

We're more or less moving off of these libraries and encouraging the use of other testing frameworks. If somebody wants to contribute documentation, it would be welcome, but it's pretty low priority for us.

shicks avatar Mar 02 '20 22:03 shicks