bmcglau

About

Username
bmcglau
Joined
Visits
12
Last Active
Roles
Members, Staff
Points
24
Posts
5
Badges
4

Comments

  • 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…