- Interview Questions and Answers for 'White box testing' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



- Interview Questions and Answers for 'White box testing' - 3 question(s) found - Order By Newest

 Q1. What are the steps to be performed while coding Junit with Mocking framework ?
admin
info@buggybread.com
Ans. Initialize required objects for working with mocks and tested method
Set the mock behaviour on dependent objects
Execute the tested method
Perform assertions
Verify if a method is invoked or not

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     junit   mocking frameworks   mock   unit testing   java   white box testing


Related Questions

  What is assert keyword used for ?
  Name few Java Mocking frameworks ?


 Q2. What is assert keyword used for ?
Anonymous
Ans. The assert keyword is used to make an assertion—a statement which the programmer believes is always true at that point in the program. This keyword is intended to aid in testing and debugging.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   junit.assert   testing   white box testing


Related Questions

  How should we ignore or avoid executing set of tests ?
  How can we test methods individually which are not visible or declared private ?
  What are the steps to be performed while coding Junit with Mocking framework ?
  How to access a Web Element if there are many elements with the same XPath ?
  Which load testing tools have you used ?
  What are use cases?
  Difference between Assert and Verify ?
  Name few Java Mocking frameworks ?
  How to perform a clean install without executing Tests ?


 Q3. Name few Java Mocking frameworks ?
admin
info@buggybread.com
Ans. Mockito, PowerMock, EasyMock, JMock, JMockit

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     junit   mocking frameworks   mock   architecture   white box testing


Related Questions

  What is a Lambda Expression ? What's its use ?
  What is Lazy Initialization in Hibernate ?
 If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?
  Explain Flow of Spring MVC ?
  What are the ways to avoid LazyInitializationException ?
  Difference between first level and second level cache in hibernate ?
  What is session tracking and how do you track a user session in servlets?
  How does volatile affect code optimization by compiler?
  Can you provide some implementation of a Dictionary having large number of words ?
  What are the benefits of using Spring Framework ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: