Y
Hacker News
new
|
ask
|
show
|
jobs
by
bitwize
3265 days ago
> For example, how would you test your renderer?
Oh, that's easy.
npm install --save-dev mock-opengl
1 comments
bjpbakker
3265 days ago
Mock testing your rendering only assets that you call the methods you expect in your tests. It does not assert rendering in any way.
link