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

[DRAFT] tests for nanobeir evaluator #3127

Merged
merged 5 commits into from
Jan 10, 2025

Conversation

JINO-ROHIT
Copy link
Contributor

This is a draft PR for testing the NanoBeir Evaluator.

To be completely honest, I have very limited experience in writing pytests so I came up with few (broken) cases. Id like your help @tomaarsen here in how can i increase coverage for the nanobeir module, what are the different elements i can test for if you dont mind? 😅

@JINO-ROHIT JINO-ROHIT marked this pull request as draft December 10, 2024 12:26
@tomaarsen tomaarsen marked this pull request as ready for review January 10, 2025 12:37
Copy link
Collaborator

@tomaarsen tomaarsen left a comment

Choose a reason for hiding this comment

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

I think this is looking quite solid! The only issue you had was that the match in pytest.raises is taken as regex, so you can escape it if there's special symbols for regex.

@tomaarsen tomaarsen merged commit cccab83 into UKPLab:master Jan 10, 2025
9 checks passed
@JINO-ROHIT
Copy link
Contributor Author

thanks @tomaarsen making the changes!

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