Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write more Unit Tests #32

Open
10 tasks
azeem opened this issue Apr 8, 2018 · 0 comments
Open
10 tasks

Write more Unit Tests #32

azeem opened this issue Apr 8, 2018 · 0 comments
Labels
help wanted Issues that need help and are open to claim

Comments

@azeem
Copy link
Owner

azeem commented Apr 8, 2018

We have lots of func tests here: https://github.com/azeem/webvs/tree/master/test/func that tests Components end to end inside a browser. This has been very useful when doing large refactoring/porting. However, it'd be nice if we have more unit tests for atleast the core parts:

  • Component.ts
  • ComponentRegistry.ts
  • Container.ts
  • EffectList.ts
  • Model.ts
  • Main.ts
  • ResourceManager.ts
  • webl/Buffer.ts
  • webgl/ShaderProgram.ts
  • webgl/TextureSetManager.ts

Use https://github.com/azeem/webvs/blob/master/test/unit/trans/DynamicMovement.test.ts as a reference for mocking and setup for unit tests.

@azeem azeem added the help wanted Issues that need help and are open to claim label Apr 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issues that need help and are open to claim
Projects
None yet
Development

No branches or pull requests

1 participant