volodya-lombrozo / jtcop

Maven Plugin for checking tests in Java projects
MIT License
18 stars 2 forks source link

feat(#413): Assertions Inside Try Statements #416

Closed volodya-lombrozo closed 3 months ago

volodya-lombrozo commented 3 months ago

In this PR I fix the problem related to assertions in try statements. jtcop used to skip assertions in try statements. Now it finds them well.

Related to #413.


PR-Codex overview

This PR introduces enhancements to JavaParserMethod for better statement extraction. It also adds tests for finding assertions inside try-catch blocks.

Detailed summary

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

volodya-lombrozo commented 3 months ago

@rultor merge

rultor commented 3 months ago

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 3 months ago

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 18min)