question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request : Shortcut to create tests

See original GitHub issue

Would be nice to have a shortcut to create test when we have one of those popup: capture d ecran 2018-12-27 a 13 12 18 capture d ecran 2018-12-27 a 13 11 57

A bonus would be that if the class is a widget it create a template for widget test, if not unit test.

That a functionality we have already on Android: capture d ecran 2018-12-27 a 13 13 53

It’s very useful because it create a template test file directly in same place/package as the class. For our case if we have a class in lib/catalog/bloc/mybloc.dart it will create a test file in test/catalog/bloc/mybloc_test.dart

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:31
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

24reactions
Nikitae57commented, Jan 31, 2022

It’s been 3 years. Please, add this feature already

10reactions
DFeltencommented, Aug 3, 2020

A feature like this is now a part of the Flutter VSCode Addon.

Is it also planned for IntelliJ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create tests | GoLand Documentation - JetBrains
The simplest way of creating a new test file in GoLand is by using a dedicated shortcut that you can invoke from your...
Read more >
Feature Request- Keyboard shortcut for Selection Mode
Hey @petebankhead and the QuPath Team- I have a tiny feature request- could you make a keyboard shortcut for Selection Mode?
Read more >
Feature Request: Add More keyboard shortcut - Feedback
Feature Request : Add More keyboard shortcut · Make quick actions usable without the mouse, something like hit CMD+K, get a panel with...
Read more >
Where is the "Create Unit Tests" selection? - Stack Overflow
Click on the Create Unit Tests... menu item and click Move Down until it's on/under the "Run tests.." Command. Then click Close. Restart...
Read more >
Keyboard shortcuts for Azure DevOps and Team Explorer
Page-specific shortcuts only work when in a specific page. For example, type g c to open the Code page, and then type c...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found