Skip to content

Adopt Test Driven Development #9

Description

@jonathan-kee

Write Test Cases First, than write the APIs, because one of the best side effects of testing is not actually about "testing" the code, by doing Test Driven Developement, the test cases explaines the reason why the code was made that way, so yeah good af documentation.

Run all tests

Compile Typescript to build folder, run all tests

  • tsc --build --clean
  • tsc --build
  • npm run test

Run specific test

Compile Typescript to build folder, run specific test

  • tsc --build --clean
  • tsc --build
  • npm run unitTest -- build/test/add.test.js
  • npm run unitTest -- build/test/env.test.js

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions