universalviewer icon indicating copy to clipboard operation
universalviewer copied to clipboard

Test one component up / down the stack

Open hackartisan opened this issue 6 years ago • 4 comments

Unit tests in the component. Integration tests in the UV. Any relevant tests in manifold.

This will serve as a full set of examples for continuing work on test suite.

hackartisan avatar Mar 21 '18 13:03 hackartisan

Translation behavior in the metadata component may be a good one to start with.

Unit test: if instantiated with this locale, I should get this value. Integration test: If I switch languages find the first div; has it got this value?

hackartisan avatar Mar 21 '18 13:03 hackartisan

This test can be a vertical slice that includes language map processing in Manifesto (with tests) all the way up to screen grabs taken with Puppeteer.

tomcrane avatar Mar 21 '18 15:03 tomcrane

Copy BaseComponent pattern https://github.com/IIIF-Commons/base-component

edsilv avatar Aug 11 '18 09:08 edsilv

All issues will be triaged for further investigation or closure by the 28 September 2023. If your issue is still relevant and would like for it be investigated further please comment by 14 September 2023.

LlGC-szw avatar Aug 25 '23 11:08 LlGC-szw