Last Active
Members, Staff


  • Hi @subratdash8 , Yes, we intentionally changed our default instantiation of Collections and Maps (including Lists) to use concrete classes like ArrayList and HashMap instead of mocking them. This is because, in nearly all circumstances, the List o…
  • Hi @subratdash8 , Regarding the EJB mocking issues, I would recommend contacting and working with our support team to look into the issue further. Perhaps there is something in your EJB or related code which we need to understand in order to provid…
  • Hi @subratdash8 , Yes, you can mock an EJB and its methods. If you select a local variable that is initialized to null, you can use the Mock it action to instantiate the EJB as a mock. Alternatively, you can use Deep Setup to automatically mock the…
  • Hi @subratdash8, In Jtest 9.x, generating tests did build multiple test methods for each method-under-test; with Jtest 10.x, we have moved away from this paradigm because it often resulted in incorrect and un-maintainable tests. Unit Test Assista…
  • Hi @subratdash8 After reviewing our documentation, I can see how it can be confusing. I will recommend that we update the documentation to be clearer. When creating tests using the Regular or Parameterized actions, UTA does not automatically creat…
  • Depending on which action you used to create the test with Unit Test Assistant, objects like EJBs may not be instantiated by default. This gives you the opportunity, when building tests, to decide whether you want a real object or a mock in the test…
  • Hi Lavanya, Junit is a unit testing framework for Java, whereas Unit Test Assistant (UTA) in Jtest 10.x is a tool which is used to build, improve, and analyze Junit tests. Jtest does not compete with or replace Junit; it helps you build and maint…