Skip to content

Conversation

jwren
Copy link
Member

@jwren jwren commented Aug 25, 2025

The additional STARTER test framework is added, see https://github.com/JetBrains/intellij-ide-starter

Thanks to others here who trailblazed, @jonathan1983, JetBrains/intellij-platform-plugin-template#537 and @helinx, #8338

@jwren jwren force-pushed the integration_tests_05 branch 3 times, most recently from e5d908a to 720e408 Compare August 27, 2025 02:55
@jwren jwren requested a review from pq August 27, 2025 02:57
@jwren jwren added 🤖 AI-assisted For PRs with significant code generated by AI autosubmit When this label is applied to a PR, the PR will be submitted as soon as all checks are green. labels Aug 27, 2025
@jwren jwren force-pushed the integration_tests_05 branch from 720e408 to 2494c6c Compare August 27, 2025 17:04
Copy link
Collaborator

@pq pq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

class MyProjectUITest {

companion object {
// Generate a unique folder name for the test project to avoid conflicts
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like an odd place for the comment. It feels like it should be in initContext. (Unless you want to say: "this will be updated to a unique folder name..."

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Thanks!

jwren added a commit to jwren/flutter-intellij that referenced this pull request Aug 27, 2025
jwren added a commit to jwren/flutter-intellij that referenced this pull request Aug 27, 2025
@jwren jwren requested a review from pq August 27, 2025 21:40
The additional STARTER test framework is added, see https://github.com/JetBrains/intellij-ide-starter

Thanks to others here who trailblazed, @jonathan1983, JetBrains/intellij-platform-plugin-template#537 and  @helinx, flutter#8338

The change does not try to get the new tests working in the presubmit.
@jwren jwren force-pushed the integration_tests_05 branch from 1d21155 to d041a13 Compare September 2, 2025 20:20
* found in the LICENSE file.
*/

package io.flutter.integrationTest
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, missed this before. but the standard practice is to keep package names all lowercase. See:

https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you address this in a follow-up?

Copy link
Member

@helin24 helin24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very exciting!

return setupTestContext(
"", IdeProductProvider.IC.copy(
// TODO(team) should the version be fetched from some setting, i.e. System.getProperty("uiPlatformBuildVersion")
buildNumber = "252.23892.409",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we inject from build.gradle.kts and/or from the gradle.properties file?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great question.

@jwren?


@Test
@Disabled("Need license configuration to test")
fun newProjectWS() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to call this something like testNewProjectWS? Maybe this is unnecessary with the annotation, but I find it hard to know where the test originates.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@auto-submit auto-submit bot merged commit da07820 into flutter:main Sep 2, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 AI-assisted For PRs with significant code generated by AI autosubmit When this label is applied to a PR, the PR will be submitted as soon as all checks are green.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants