Closed kevinmarquesp closed 6 months ago
Here's the code health analysis summary for commits 5e18b5e..db291bd
. View details on DeepSource ↗.
Analyzer | Status | Summary | Link |
---|---|---|---|
Shell | ✅ Success | View Check ↗ | |
Go | ✅ Success | View Check ↗ |
💡 If you’re a repository administrator, you can configure the quality gates from the settings.
So, I wasn't able to test most of the code because the internal is mostly composed by private functions, and I don't want to refactor the code that much just to test some functionalities.
The other reason was that the Anime Fire related functions depends on a URL value instead of a page document, witch makes a little hard to test because I don't know if it's OK if the site's front end changes and break some tests, it can be useful to know when to refactor the scrapper code, but I'm not quite sure.
But I think it's a good starting point! Like, now the next feature will have a place to be tested, and the project's CI will incentive developers to open PRs covered with test for the new features/bug fixes.