JUnit Tools 4 Spring

Add this URL to your Eclipse Installation to reach this solution's update site.

2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2023-06 (4.28), 2023-09 (4.29), 2023-12 (4.30), 2024-03 (4.31), 2024-06 (4.32), 2024-09 (4.33), 2024-12 (4.34), 2025-03 (4.35), 2025-06 (4.36)

https://csorbazoli.github.io/junit-tools-updatesite/

Learn more...
Solution Description

Tool for helping the developers to write simple and maintainable unit tests with minimal effort on the tedious part and let them focus on the important part of the tests.

This plugin promotes the “Test First” approach. Creates a well-structured test method skeleton from the method signature with gherkin-styled blocks.

  • given-when-then blocks (Gherkin style)
    • given: pre-initialized parameter values
    • when: method is called
    • then: assert for return value

Additional features

  • using Mockito runner for fast test execution
  • mock dependencies of the tested class
  • using TestValueFactory for effortless but consistent input value creation, see samples below
  • using JSON comparison for checking complex result types instead of endless asserts on each single field value
  • customization through preferences

Spring support

  • using Spring testing annotations if that is preferred or needed
  • enhanced rest endpoint testing with MockMvc

 

See more details and code samples on the update site: https://csorbazoli.github.io/junit-tools-updatesite/

 

Important note / disclaimer

This plugin has reasonable default settings for creating test method skeletons, but you'll need to extend and fine-tune those settings based on the ever-changing requirements of your specific project. The plugin has a configurable set of default values for the input parameters, imports, naming conventions, etc. Feel free to adjust these settings according to your needs.

Please remember, that testing is a continuous effort that is part of the development task. The test implementation evolves with the production code, just like the tools we use.

Categories: Testing

Additional Details

Eclipse Versions: 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2023-06 (4.28), 2023-09 (4.29), 2023-12 (4.30), 2024-03 (4.31), 2024-06 (4.32), 2024-09 (4.33), 2024-12 (4.34), 2025-03 (4.35), 2025-06 (4.36)

Platform Support: Windows, Linux/GTK

Organization Name: csorbazoli

Development Status: Alpha

Date Created: Thursday, January 19, 2023 - 15:35

License: Apache 2.0

Date Updated: Saturday, March 23, 2024 - 05:24

Submitted by: Zoltán Csorba

Screenshot
Date Ranking Installs Clickthroughs
January 2026 55/604 254 15
December 2025 52/621 395 18
November 2025 54/626 431 5
October 2025 54/637 488 10
September 2025 57/653 413 8
August 2025 67/615 317 11
July 2025 50/636 436 8
June 2025 49/627 472 9
May 2025 48/634 466 6
April 2025 53/623 450 9
March 2025 42/661 697 13
February 2025 40/645 728 18
View Data for all Listings

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for JUnit Tools 4 Spring.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client