Sp

Speeding up the code-test cycle for Java developers

Hacker News

Speeding up the code-test cycle for Java developers

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://plugins.jetbrains.com/plugin/18529-unlogged

Share card

Actual performance

69points
15comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: para · Missing: supports, reddit linkedin, podcasting
90%90% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: agent, new, using · Missing: mac, agents, macos
82%82% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: way, para · Missing: mobile apps, ios, personal
38%38% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: lua, ide, io · Missing: https docs, excited, just released
35%35% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: calls · Missing: plus, platform, intuitive
30%30% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
11%11% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

POW!
POW!34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Take charge of your menstrual cycle

Indie Hackers2$149/mohealth-fitness
Ex
Externalizing Developers' Intuition as Code65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Externalizing Developers' Intuition as Code

Hacker News2
FlowLad
FlowLad31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Upwork for No-Code Developers

Indie Hackerscommitment-full-time
Bu
Burndowns, CFDs, Cycle Time Plots for Trello43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Burndowns, CFDs, Cycle Time Plots for Trello

Hacker News6
Co
Codekeeper – Source Code Escrow for Developers54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Codekeeper – Source Code Escrow for Developers

Hacker News37
Co
CodeNow : Anyone can test your code in seconds42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CodeNow : Anyone can test your code in seconds

Hacker News2
La
Larder, bookmarking for developers70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Larder, bookmarking for developers

Hacker News52
De
DevTees – Graphic t-shirts made for developers69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

DevTees – Graphic t-shirts made for developers

Hacker News10
St
Steve Ballmer: Developers, developers, developers62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Steve Ballmer: Developers, developers, developers

Hacker News8
Co
Codementor AMA for Developers62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Codementor AMA for Developers

Hacker News19