Title: Enable Java assertions in framework integration tests by dtim · Pull Request #539 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Enable Java assertions in framework integration tests by dtim · Pull Request #539 · UnitTestBot/UTBotJava
X Title: Enable Java assertions in framework integration tests by dtim · Pull Request #539 · UnitTestBot/UTBotJava
Description: Description This PR adds the -ea command line for java invocation when an integration test is run. The test runner code is refactored: a list of additional arguments is added, and list builders are used instead of list concatenation during the command line construction. As list builders are experimental in Kotlin 1.4.20, necessary @OptIn annotations and the corresponding compiler argument have been added. They will become obsolete upon transition to Kotlin 1.7. Fixes #538 Type of Change Bug fix (non-breaking change which fixes an issue) Refactoring How Has This Been Tested? Automated Testing A new test with assert statement was added to the utbot-framework test suite: org.utbot.examples.codegen.JavaAssertTest. Manual Scenario It is an infrastructural change, so no explicit manual checking is expected. To verify that the change works, it is necessary to add a test involving Java assert statement to the utbot-framework test suite. Checklist (remove irrelevant options): The change followed the style guidelines of the UTBot project Self-review of the code is passed The change contains enough commentaries, particularly in hard-to-understand areas New documentation is provided or existed one is altered No new warnings Tests that prove my change is effective All tests pass locally with my changes
Open Graph Description: Description This PR adds the -ea command line for java invocation when an integration test is run. The test runner code is refactored: a list of additional arguments is added, and list builders are...
X Description: Description This PR adds the -ea command line for java invocation when an integration test is run. The test runner code is refactored: a list of additional arguments is added, and list builders are...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/539
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:c3b8df49-e535-9d80-991e-014bbc400b70 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8B80:3D126:BFCF7B:F71F44:6990BCC5 |
| html-safe-nonce | 855daaa13a9d39d2dc423764b1b5e6e0da88e131d478e8b4409c36449a374236 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjgwOjNEMTI2OkJGQ0Y3QjpGNzFGNDQ6Njk5MEJDQzUiLCJ2aXNpdG9yX2lkIjoiNjQyNzkxMTMzNDcxNzg2NTE1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 49f27a11fa49c684ed8391d18de1dba8a34a8d27f5c0590cd7e43c65d767a219 |
| hovercard-subject-tag | pull_request:997992937 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/UnitTestBot/UTBotJava/pull/539/checks |
| twitter:image | https://avatars.githubusercontent.com/u/336793?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/336793?s=400&v=4 |
| og:image:alt | Description This PR adds the -ea command line for java invocation when an integration test is run. The test runner code is refactored: a list of additional arguments is added, and list builders are... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width