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

Add unit testing framework. #21

Merged
merged 83 commits into from
Aug 14, 2024
Merged

Conversation

SharafMohamed
Copy link
Contributor

@SharafMohamed SharafMohamed commented Aug 7, 2024

Description

  • Add unit test framework.
  • Add a unit test for creating a schema object.
  • Add install script for Catch2.
  • Add Catch2 and unit tests to workflow.
  • Add unit tests to linter.
  • Update README to include Catch2.

Validation performed

  • Unit tests compile and run successfully.
  • Unit tests run successfully in workflow.

@SharafMohamed SharafMohamed changed the title Add unit test framework Add unit test framework. Aug 7, 2024
submodules/Catch2 Outdated Show resolved Hide resolved
tests/test-lexer.cpp Show resolved Hide resolved
tests/test-lexer.cpp Outdated Show resolved Hide resolved
tests/test-lexer.cpp Outdated Show resolved Hide resolved
tests/test-lexer.cpp Outdated Show resolved Hide resolved
tests/CMakeLists.txt Show resolved Hide resolved
tests/CMakeLists.txt Outdated Show resolved Hide resolved
tests/CMakeLists.txt Outdated Show resolved Hide resolved
tests/CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
tests/test-lexer.cpp Outdated Show resolved Hide resolved
tests/CMakeLists.txt Outdated Show resolved Hide resolved
tests/CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
.github/workflows/build.yaml Outdated Show resolved Hide resolved
.github/workflows/build.yaml Outdated Show resolved Hide resolved
.github/workflows/build.yaml Outdated Show resolved Hide resolved
.github/workflows/build.yaml Outdated Show resolved Hide resolved
Copy link
Member

@kirkrodrigues kirkrodrigues left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the PR title, how about:

Add unit testing framework.

@SharafMohamed SharafMohamed changed the title Add unit test framework. Add unit testing framework. Aug 14, 2024
@SharafMohamed SharafMohamed merged commit d9a686e into y-scope:main Aug 14, 2024
6 checks passed
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.

2 participants