# Unit Testing Approach for Vtk.js

**URL:** https://discourse.vtk.org/t/unit-testing-approach-for-vtk-js/12142
**Category:** Development
**Tags:** code, vtkjs
**Created:** [August 14, 2023, 5:52am UTC](https://discourse.vtk.org/t/unit-testing-approach-for-vtk-js/12142 "2023-08-14T05:52:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ranjeet\_aey](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/c37758/32.png) [@ranjeet\_aey](https://discourse.vtk.org/u/ranjeet_aey)
#### Post date: [August 14, 2023, 5:52am UTC](https://discourse.vtk.org/t/unit-testing-approach-for-vtk-js/12142/1 "2023-08-14T05:52:12Z")

</div>

I’m trying to implement unit testing for my vtk.js code but not able to perform it for loading stl models. Is there any example for unit testing in vtk.js

---

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [August 14, 2023, 5:45pm UTC](https://discourse.vtk.org/t/unit-testing-approach-for-vtk-js/12142/2 "2023-08-14T17:45:44Z")

</div>

Is that what you are looking for?

> <https://github.com/Kitware/vtk-js/tree/master/Sources/Rendering/Core/Mapper/test>
>
> //github.com/Kitware/vtk-js/tree/master/Sources/Rendering/Core/Mapper/test
