DEV Community

Harit Himanshu
Harit Himanshu

Posted on

1

How can I test whether a for loop is available in the Class?

Let me explain the use case first.

The use case is that a learner learning java is following a set of written instructions and using automated tests (read JUnit), I want to test whether they have successfully implemented the instruction.

Things that I need to find out programmatically, for…

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post