Ability to generate unit tests

I will suggest a feature that I would use on a daily basis. It would be great to have a UI solution for a straightforward unit test generation.

Currently it’s possible to achieve by providing @file-name or function and asking to generate unit tests. It does a great job, but I think there is a whole plethora of opportunity to improve this experience with custom UI.

I wish you great success in 2024!

4 Likes

Second this - using Codium right now, and it does okay, but kinda feels silly using 2 tools. Not to mention that the completions suggested by Cursor are much better.

1 Like

@amrit-zest your comment about having to use 2 tools struck a chord with me.

I see AI having deep impact on two different use cases: co-pilot & fully automated. To me, Cursor is a co-pilot which expects a human software developer to be coding side-by-side with it. On the other hand, Codium’s full vision is to automate the code development with the human merely feeding in specs and approved test cases.

Common to both is human-in-the-loop, but in very different ways. I expect my role as a software engineer will shift to direction-setting & verification.

Are you using Codium merely to generate tests from existing code or are you using it fully by authoring tests, letting it generate code iteratively until it can pass those tests, and letting it write more tests?

1 Like