-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
Improvements in testcases #553
Comments
Since this is a terminal file manager, there are many things that are hard to test via unit test, or even integration test. But we should still have test cases for what we can cover. And it will take a while to decide the testing framework and testing plan, and eventual implementation of tests. I will try to help out as per my availability. |
Also, I think we should be using lint, goimports, golangci-lint during build process. |
One idea I had to is to have some sort of testcase that can make sure superfile stays performant, and any new changes doesn't brings it down. |
Just realised that there are some testcases ( |
I agree that superfile needs more test cases, not only to identify errors and bugs but also to evaluate its performance. |
My current idea is this
|
The part you want to Enhancement
Test cases to cover at least some part of code that can be covered via test case, and test cases to cover critical portions, or portions where bugs could be easily introduced by new changes.
Why it is necessary to enhancement
To make sure features work as intended and that future changes/refactoring do not introduce bugs.
Otherwise regressions caused by changes will be not be caught.
Additional context
While writing tests may require upfront effort, it will save time and resources in the long run by making the codebase easier to maintain and extend.
Well-tested project -> More trust among users and contributors, potentially leading to more contributions and a larger user base.
Edit - I realised, that there already are some testcases. Updated Title to account for that.
The text was updated successfully, but these errors were encountered: