Skip to content
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

fix: Schema parameter type - Unit Tests #896

Closed
wants to merge 8 commits into from

Conversation

codebeaver-ai[bot]
Copy link
Contributor

@codebeaver-ai codebeaver-ai bot commented Jan 16, 2025

Test Coverage Improvements 🎯

This PR adds new tests to improve coverage across multiple files.

I wrote these tests based on the files changed in fix: Schema parameter type

Summary

  • Overall average coverage improvement: +90.70%
  • Files modified: 8

Detailed Changes

  • tests/test_json_scraper_multi_graph.py
    • New coverage: 100.00%
    • Improvement: +100.00%
  • tests/test_script_creator_multi_graph.py
    • New coverage: 57.14%
    • Improvement: +57.14%
  • tests/test_xml_scraper_graph.py
    • New coverage: 100.00%
    • Improvement: +100.00%
  • tests/test_csv_scraper_multi_graph.py
    • New coverage: 100.00%
    • Improvement: +100.00%
  • tests/test_smart_scraper_multi_concat_graph.py
    • New coverage: 100.00%
    • Improvement: +100.00%
  • tests/test_search_graph.py
    • New coverage: 96.67%
    • Improvement: +96.67%
  • tests/test_speech_graph.py
    • New coverage: 92.86%
    • Improvement: +92.86%
  • tests/test_script_creator_graph.py
    • New coverage: 78.95%
    • Improvement: +78.95%

Test Status ✅

tests/test_json_scraper_multi_graph.py ------------------- PASSED ✓
tests/test_script_creator_multi_graph.py ------------------- PASSED ✓
tests/test_xml_scraper_graph.py ------------------- PASSED ✓
tests/test_csv_scraper_multi_graph.py ------------------- PASSED ✓
tests/test_smart_scraper_multi_concat_graph.py ------------------- PASSED ✓
tests/test_search_graph.py ------------------- PASSED ✓
tests/test_speech_graph.py ------------------- PASSED ✓
tests/test_script_creator_graph.py ------------------- PASSED ✓
All 8 tests passed! 🚀

Additional Notes

I've been writing tests for a while, stopping now.

  • Skipped scrapegraphai/graphs/search_link_graph.py

  • Skipped scrapegraphai/graphs/json_scraper_graph.py

  • Skipped scrapegraphai/graphs/abstract_graph.py

  • Skipped scrapegraphai/graphs/code_generator_graph.py

  • Skipped scrapegraphai/graphs/document_scraper_graph.py

  • Skipped scrapegraphai/graphs/depth_search_graph.py

  • Skipped scrapegraphai/graphs/smart_scraper_multi_graph.py

  • Skipped scrapegraphai/graphs/smart_scraper_lite_graph.py

  • Skipped scrapegraphai/graphs/smart_scraper_graph.py

  • Skipped scrapegraphai/graphs/csv_scraper_graph.py

  • Skipped scrapegraphai/graphs/omni_scraper_graph.py

  • Skipped scrapegraphai/graphs/smart_scraper_multi_lite_graph.py

  • Skipped scrapegraphai/graphs/omni_search_graph.py

  • Skipped scrapegraphai/nodes/graph_iterator_node.py

I ran all the hooks included in the pre-commit config.

Generated by CodeBeaver

@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. tests Improvements or additions to test labels Jan 16, 2025
@codebeaver-ai codebeaver-ai bot closed this Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XXL This PR changes 1000+ lines, ignoring generated files. tests Improvements or additions to test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants