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-06 (4.33)

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-06 (4.33)

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
July 2024 53/651 426 7
June 2024 51/681 674 14
May 2024 55/682 709 17
April 2024 55/687 743 9
March 2024 43/694 1055 15
February 2024 65/687 573 6
January 2024 71/691 596 8
December 2023 58/671 648 9
November 2023 57/686 800 16
October 2023 75/673 586 18
September 2023 92/663 462 13
August 2023 95/673 423 9
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 6

Download last 500 errors (CSV)

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