Skip to content

test: add unit testing setup with Mocha and Chai#12

Open
Anusha0501 wants to merge 4 commits intogivikuna:mainfrom
Anusha0501:test/setup-unit-tests
Open

test: add unit testing setup with Mocha and Chai#12
Anusha0501 wants to merge 4 commits intogivikuna:mainfrom
Anusha0501:test/setup-unit-tests

Conversation

@Anusha0501
Copy link
Contributor

  • Added test/ directory
  • Set up Mocha + Chai with ts-node for TypeScript tests
  • Added initial lexer unit tests

This establishes the foundation for testing core compiler components.

image

Fixes #2

@Anusha0501
Copy link
Contributor Author

I’ve added the initial testing setup and a basic lexer test to establish the framework.
Happy to iterate or add more tests based on your feedback.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a unit testing system of the code.

1 participant