Flutter driver Test Explorer
If you run tests in IntelliJ you should see something very similar to what you have screen shotted above for VS. You may find if you're using a build tool (Gradle/Maven) that running tests defaults to using the build tool to do so but you can switch this back to IntelliJ alone. What are you currently seeing/not seeing in IntelliJ?
See https://www.jetbrains.com/help/idea/performing-tests.html for more info + screen shot very similar to VS.
Apuna12
Updated on December 07, 2022Comments
-
Apuna12 over 1 year
is there a way to get some kind of Flutter Test Explorer into the IntelliJ IDE?
I am thinking of something like JUnit has in Visual Studio. Let's say that it should be something like this. My tests are stored in Feature Files.
If yes please send me a link to an addon or tool.
Thanks.
EDIT 1: I am talking about the tool which "sees" all feature files and scenarios in it before the run. User than can select which scenario will be executed from the list of scenarios.
-
Apuna12 over 3 yearsI am looking for something that can see the Scenarios before the execution.. Lets say that it should see some kind of list of all scenarios before the run. User than can select which scenario should be executed. Idk if you know what I mean
-
Rob Evans over 3 yearsI understand what you mean. I'm not aware of any such view but will have a (quick) look if anything exists
-
Rob Evans over 3 yearsstackoverflow.com/questions/44813230/… If you show Tests only in the project view, then open up the "Structure" tab along side the open class you'll see the methods. It's not the same but it gets you a step closer
-
Apuna12 over 3 yearsthis is sad. The feature you sent does not see feature files :/... I am sure now that the thing I am looking for does not exist yet.
-
Rob Evans over 3 yearsSeems this feature does exist in JetBrains Resharper but not in IntelliJ IDEA jetbrains.com/resharper/features/unit_testing.html my guess is its something to do with the way the code can be profiled.
-
Rob Evans over 3 yearsI checked the plugins for "test explorer" and couldn't find much. Doesn't look like its currently available but happy to be proven wrong.
-
Rob Evans over 3 yearsHow come you would like access to the test explorer anyway? Whats it useful for? In my few years of development I've not needed it
-
Apuna12 over 3 yearsLet's say you are doing regression testing and you need to do just some of the testing scenarios. Let's say that you have a mess in the scenarios. You have the list of the scenarios which you can execute one by one, or you can select multiple scenarios and execute them together.