How do I use the automated tests?
Hi there. I need to maintain a digital diary for some personal reasons, and found RedNotebook to fit my needs well. As I played around with the application for some days I fould some areas of improvement. And since I know a bit about software development I decided to check out the code and see if I can contribute.
As I like to practice Test-Driven Development I found the tests/ directory and the dev/run-tests.sh script and tried to run those tests before making changes. Because 'run-tests.sh' sounds like it is running the tests. But it actually runs static analysis tools and some other weird underscore stuff, but does not actually execute those test_*.py files. You can verify it by flipping an assert, it seems they are just analyzed, but not executed.
But before reaching to this point I struggled with the static analysis, which currently does not pass too:
So my question is: are you taking those tests seriously?
And if yes, how is one supposed to use them?
And are these tests integrated in the build process?
Can you help with this problem?
Provide an answer of your own, or ask Rusi for more information if necessary.