Information BD

  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Home
  • News
    • Hacker News
    • Google on TechRepublic
    • Articles on TechRepublic
    • Software on TechRepublic
    • Tech And Work on TechRepublic
  • Uncategorized

Wednesday, May 17, 2023

New top story on Hacker News: Show HN: Speeding up the code-test cycle for Java developers

 May 17, 2023     Hacker News     No comments   

Show HN: Speeding up the code-test cycle for Java developers
27 by artpar | 1 comments on Hacker News.
Hello HN, I am Parth. In my experience, the current form of testing automation takes too long. To solve this, I am creating a developer tool to speed up the code-test cycle for Java developers. It has two main parts: Direct Invoke - lets you call any Java function directly, without the need to execute the whole call hierarchy. (e.g. an HTTP endpoint) In my normal coding workflow, I use the “Evaluate Expression” feature inside IntelliJ IDE. I usually put a breakpoint somewhere in the code and after hitting the breakpoint by calling an HTTP api, let the execution remain paused while I explore and see the return values of functions. “Evaluate Expression” was quite useful in exploring new codebases and checking return values of my own functions as a sanity test. The direct invoke feature implements the same functionality without needing to hit a breakpoint. Now, I can just navigate to any function in the editor and execute it. The parameter values are input as JSON and deserialize to an object of the required class instances. Atomic Run - lets you hot-reload the code changes and highlights the difference in the return values of the changed function before and after the hot-reload. I feel Atomic Run has the potential of replacing unit test cases, but there is a long way to go. I am thinking of implementing - Option for mocking dependency calls: We want to give the developer more control over the testing environment by allowing them to mock downstream dependency calls. - Customizing assertions: Not all differences in return values indicate breaking changes. Assertions should be flexible to accommodate non-breaking changes. - Workflow to save this data to a file (thinking something like JSON based fixtures): making it easier to organize and reuse test data. This plugin is still in the early stages, so we'd appreciate your help in ironing out any bugs you come across. Get in touch with me on my discord channel. To try it out, install Unlogged from the IntelliJ Marketplace and start your java application using the java agent (the plugin has instructions to download) Link to try the plugin: https://ift.tt/NYK5cuj

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Ad

Popular Posts

  • DealBook Briefing: Apple’s Struggles Add to Uncertainty in Markets
    By Unknown Author from NYT Business https://nyti.ms/2CL89mG
  • Listen to Stephen Sondheim’s 20 Essential Songs
    By BY ERIC GRODE from NYT Theater https://ift.tt/32KJU7H
  • Listen to the Globe
    By BY CAITLIN KELLY from NYT At Home https://ift.tt/3jJNKk3

Recent Posts

Categories

  • AllLanguages
  • Articles on TechRepublic
  • bangla
  • Cracking Open Blog | TechRepublic
  • desktop
  • English
  • FOX NEWS
  • Google on TechRepublic
  • Hacker News
  • HowTo
  • IOS
  • Mobile
  • MobileReviews
  • News
  • NYT
  • PcTricks
  • Reviews
  • Software on TechRepublic
  • softwareupdates
  • Tech And Work on TechRepublic
  • Tech Industry on TechRepublic
  • TechNews
  • TechRepublic
  • Tools
  • Trick
  • Updates
  • Website

Unordered List

Pages

  • Home

Text Widget

Blog Archive

  • December 2025 (4)
  • November 2025 (38)
  • October 2025 (46)
  • September 2025 (51)
  • August 2025 (44)
  • July 2025 (38)
  • June 2025 (37)
  • May 2025 (47)
  • April 2025 (44)
  • March 2025 (47)
  • February 2025 (35)
  • January 2025 (41)
  • December 2024 (57)
  • November 2024 (64)
  • October 2024 (63)
  • September 2024 (57)
  • August 2024 (50)
  • July 2024 (66)
  • June 2024 (66)
  • May 2024 (71)
  • April 2024 (46)
  • March 2024 (68)
  • February 2024 (45)
  • January 2024 (63)
  • December 2023 (66)
  • November 2023 (60)
  • October 2023 (64)
  • September 2023 (103)
  • August 2023 (95)
  • July 2023 (89)
  • June 2023 (78)
  • May 2023 (172)
  • April 2023 (162)
  • March 2023 (176)
  • February 2023 (155)
  • January 2023 (185)
  • December 2022 (166)
  • November 2022 (158)
  • October 2022 (202)
  • September 2022 (198)
  • August 2022 (195)
  • July 2022 (198)
  • June 2022 (191)
  • May 2022 (183)
  • April 2022 (193)
  • March 2022 (176)
  • February 2022 (174)
  • January 2022 (247)
  • December 2021 (351)
  • November 2021 (626)
  • October 2021 (654)
  • September 2021 (608)
  • August 2021 (713)
  • July 2021 (713)
  • June 2021 (690)
  • May 2021 (712)
  • April 2021 (687)
  • March 2021 (713)
  • February 2021 (644)
  • January 2021 (713)
  • December 2020 (713)
  • November 2020 (690)
  • October 2020 (628)
  • September 2020 (689)
  • August 2020 (713)
  • July 2020 (713)
  • June 2020 (690)
  • May 2020 (713)
  • April 2020 (690)
  • March 2020 (713)
  • February 2020 (667)
  • January 2020 (713)
  • December 2019 (713)
  • November 2019 (690)
  • October 2019 (711)
  • September 2019 (688)
  • August 2019 (713)
  • July 2019 (713)
  • June 2019 (690)
  • May 2019 (3001)
  • April 2019 (2950)
  • March 2019 (3047)
  • February 2019 (2759)
  • January 2019 (3059)
  • December 2018 (3060)
  • November 2018 (2959)
  • October 2018 (3058)
  • September 2018 (2962)
  • August 2018 (2221)
  • July 2018 (3)

Search This Blog

Powered by Blogger.

Report Abuse

About Me

Inform BD Tech
View my complete profile

Sample Text

Copyright © Information BD | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates