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

Test: Add Unit Tests #3

Merged
merged 18 commits into from
Jan 18, 2024
Merged

Test: Add Unit Tests #3

merged 18 commits into from
Jan 18, 2024

Conversation

ozgurkaraaslan
Copy link
Contributor

What

Unit tests are added.

How

Testing library is used for testing. Also, dependency injection is chosen to mock some functions.

Testing

92% coverage is achieved by running test codes.

Anything Else

  • Functions used for dependency injections were purposely untested.
  • A minor bugfix is added to atcom.go (somewhere line 204).

Copy link
Contributor

@selengalp selengalp left a comment

Choose a reason for hiding this comment

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

LGTM

@selengalp selengalp merged commit f1b48a8 into master Jan 18, 2024
@selengalp selengalp deleted the unittest branch January 18, 2024 22:48
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.

None yet

2 participants