-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Testability strategy #2293
Comments
Yes, unit tests can only be applied to small part of Gogs's codebase. I'm waiting to finish APIs to achieve more on testing. |
Also, I suggest move discussion to http://forum.gogs.io/ |
ping @ayr-ton ? |
Pong @unknwon |
Related post: |
Happened exactly the same to me, when looking for tests. Hope an strategy can be set so the confidence in the program increases. Though, I'm using gogs in production right now without problems. Thanks for it! |
Hey there.
I was digging into the code and saw a excellent piece of work from all the contributors everywhere.
However, something caught my attention. The code base is growing every day but there's no Unit Tests mention at the CONTRIBUTING.md file. As Go has a good built-in support for automated tests (https://golang.org/pkg/testing/) I would like to ask if you guys have plans to design a testing strategy as something required for future contributions.
It could increase confidence in recommending the project for production use as well, as I think gogs could replace a lot of solutions out there.
Also, I can see there's a few modules with tests https://github.com/gogits/gogs/search?p=1&q=testing&utf8=%E2%9C%93 but the coverage still small.
If you 👍 this idea, we can discuss here the strategy.
The text was updated successfully, but these errors were encountered: