Skip to content

Write more Unit Tests #32

Description

@azeem

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIssues that need help and are open to claim

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions