Light bulb icon does not show #115
-
I sent a message to Sanjula directly but thought others might benefit if they are having the same issue. I created a very simple procedure to give this a try but the Light Bulb icon never shows up to create a test stub. I have a QTESTSRC source file created in my library. My library is in the library list as well. This is the simple program. It's compiled as a *MODULE. I also tried one that was a service program as well.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hey @thomprl. Thanks for sharing this issue. I just gave this a try and it looks like test stub generation is indeed not working for source members right now, although it does work fine for local files. I will have this fixed this week. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to implement the IBM i Unit Testing Extension in my organization, and followed the setup as per the documentation What I did: Issue: Can you please help investigate why the "Install component" option is not showing in the Components tab? It seems others may run into this too, so raising it here might help the community as well. |
Beta Was this translation helpful? Give feedback.
-
Hey Sanjula, thanks again for the help! While exploring the documentation for iRPGUnit, I noticed it includes assertions for character, numeric, and boolean variables. Since IBM's test stub generator seems to take inspiration from iRPGUnit, I wanted to ask: ➡️ Is IBM planning to expand the available assertions in the future—for example, assertions related to: File I/O operations (open, close, read, write) SQL operations (inserted/updated rows, SQLSTATE, result sets) Arrays or data structure comparisons Or even integration with job logs or message queues? This kind of support would be really useful for end-to-end and integration testing on IBM i. Let me know if this is on the roadmap or if the community can contribute ideas/code via GitHub. Thanks again for all your support - excited to see where this goes! |
Beta Was this translation helpful? Give feedback.
@thomprl I just published a new version of the extension (
v1.1.0
) which also requires a new version of the RPGLE extension (v0.31.0
). It primarily has a bunch of improvements to test stub generation documented here, but also adds the code action light bulb to source members. I generate this with your snippet: