Skip to content

Unit tests for send_statustext_msg function#82

Merged
hannatonthat merged 6 commits intomainfrom
statustext_unit_tests
Jul 22, 2025
Merged

Unit tests for send_statustext_msg function#82
hannatonthat merged 6 commits intomainfrom
statustext_unit_tests

Conversation

@hannatonthat
Copy link
Contributor

No description provided.

Comment on lines 26 to 29
messages = [
"System startup", # Regular message (success)
"A" * 50, # Exactly 50 characters (success)
"B" * 51, # 51 characters (fail)
Copy link
Contributor

Choose a reason for hiding this comment

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

really minor, but can you make a list of valid messages, and then a separate list of non-valid messages? and test those separately?

Copy link
Contributor

@ellyokes253 ellyokes253 left a comment

Choose a reason for hiding this comment

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

lgtm!!

Copy link
Contributor

@ellyokes253 ellyokes253 left a comment

Choose a reason for hiding this comment

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

mb clicked the wrong review settings

@hannatonthat hannatonthat merged commit dcaa982 into main Jul 22, 2025
1 check passed
@hannatonthat hannatonthat deleted the statustext_unit_tests branch July 22, 2025 00:53
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