[JAVA-5096] Run Kotlin and Scala tests as part of PR checks Created: 02/Aug/23  Updated: 09/Aug/23  Resolved: 09/Aug/23

Status: Closed
Project: Java Driver
Component/s: Test Coverage
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Jeffrey Yemin Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to JAVA-5095 Add driver-scala:compileIntegrationTe... Closed
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Ensure at least one Kotlin and one Scala test is run as part of the PR evergreen checks.



 Comments   
Comment by Ross Lawley [ 09/Aug/23 ]

See: https://github.com/mongodb/mongo-java-driver/pull/1172

Comment by Jeffrey Yemin [ 03/Aug/23 ]

That works too. If we agree on that we can turn this into a task to update Evergreen settings.

Comment by Ross Lawley [ 03/Aug/23 ]

However, I do think we should run at least one variant of scala test and kotlin test as part of the PR evergreen checks - to ensure PR coverage is adequate.

Comment by Ross Lawley [ 03/Aug/23 ]

The benefit of not doing is reducing the costs of the build. As this and Scala are wrappers do they need to be run in all environments?

Not doing so speeds up the build and retains the same coverage.

Comment by Jeffrey Yemin [ 03/Aug/23 ]

Ah, I see it now. Thanks. I still would like to consider the option of running integrationTest in run-tests.sh.

Comment by Ross Lawley [ 03/Aug/23 ]

Note: there is a run-kotlin-tests.sh which runs all kotlin tests including integration tests.

This is run on evergreen

Generated at Thu Feb 08 09:03:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.