T

Test class creator

JetBrains

8d5ea158-1627-4f90-8c42-2287a0662e8e · v—

Instructions : use default shortcut Shift+Alt+Q while you have a class in the src/ directory opened Plugin for creating test classes which have the necessary structure for unit testing a class: Usages imported from the original class Class dependencies defined as private test class variables Class dependencies mocked and injected into the tested class

Testing
Open in store ↗ id: 11216
Downloads
1K
1 183
Rating
4.1 ★
2 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 2 ratings
4★ 100.0%

Reviews 2

★★★★★ Roel van Duijnhoven 2021-03-16

Super helpful! This saves a lot of time and matches almost exactly how we work :). It could be improved in the following ways for us: Allow configuration of what the base class is (our own extended version of TestCase). Allow configuration of in what directory to generate the file. We have a src/ and tests/src/ directory setup.

★★★★★ Aurimas Tarasevičius 2019-07-17

Really handy tool when coding lots of Classes and need to write tests for them! Noticed, that it does not support dependencies coming from the parent class. I hope this will improve on later versions.

Similar in “Testing”