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
Writing tests [Rust] #9
Comments
Hello @AntoniosBarotsis, if that's ok with you, I would be interesting to work on this issue as part of the Hacktoberfest. One question I am asking myself for which I did not find an answer in your README or CONTRIBUTING: what is your standard workflow for running this? Cheers |
Hello! Yes I think I do not mention this explicitly but a The AWS-Lambda stuff you can ignore as the only thing that changes is some boilerplate around the main function. 1: Halfway through writing this I realized that I actually try to resolve the API key early which I shouldn't do, I'll push a commit fixing that in a few minutes and I'll try to include the basic outline of running the app in the contributing file. I had some of this stuff in the wiki but I'll be sure to make that more obvious as well. Let me know if you have any other questions :) EDIT: The commit I mentioned has been pushed. |
I made a few tweaks to the I will try to restructure the docs at some point because information feels like it's all over the place right now. |
Looks clear enough. Thanks for the update. |
Hello @Kineolyan! I am wondering if you are still working on some tests (you mentioned something about parsing) or if I should close the issue. Not in a hurry or anything just wasn't sure 👍 |
Hello @AntoniosBarotsis, I have started another branch for parsing tests https://github.com/Kineolyan/Rss2Email/tree/add-tests-for-parsing I already have tests for the parsing of Atom feeds and hope to work on RSS this week. Unlike the previous PR I made, that focused on download, I wanted to cover the whole topic before submitting a PR :) |
That's totally fine and thanks for yet another contribution! I was just going over some issues and wanted to make sure that this is still open :) |
Hello @AntoniosBarotsis, I have a question about RSS. The spec for RSS 0.91 [1] and RSS 0.92 [2] does not define any date for the entries. There is one date at the level of the channel but representing the update date of the whole file. [1] https://www.rssboard.org/rss-0-9-1 |
I based my implementation according to RSS 2.0 which does include dates. Most if not all feeds that I have seen are using 2.0. |
There are currently no tests present in the project. While it is very easy to test manually, automated tests are definitely quite handy.
I'm interested in testing that downloading and parsing (separately) RSS feeds are working properly. There should be a way to define a list of feeds to be used in these tests.
Feel free to make any additional tests!
Adding automated code coverage reports would also be a very much welcome addition.
The text was updated successfully, but these errors were encountered: