Choose a topic to test your knowledge and improve your jUnit skills
Which of the following is not correct about JUnit?
Which of the following is an example of a web controller?
Which of the following is not a mocking framework?
Which of the following is correct about Test Suite in JUnit?
Which of the following is also known as Beta Testing?
Which of the following is a free Java tool that calculates the percentage of code accessed by tests?
Which package contains interfaces that define jMockβs Domain Specific Embedded Language?
Class JUnitMatchers extends _________
Which of the following test has to be completed before integration testing?
Which of the following is the basic unit of development in Scrum?
Which of the following translates ExpectationErrors into JUnit AssertionFailedErrors?
Which of the following is a JUnit Rule that manages JMock expectations and allowances?
What is the full form of JJ in βJJ-pathβ?
Which of the following is a Java HTTP (Web) server and Java Servlet container?
Mocks are Trojan horses because they replace real ___________ from the inside, without the calling classes being aware of it.
Stubs usually provide high ______ in the tested system.
In which of the following test, Monkey Testing is also included in Android Studio as part of the standard testing tools.
Which testing is used for testing systems for which the specification takes in the form of rules or cause-effect combinations?
Which of the following rules helps to set up custom JUnit rules?
The JUnit hasItem() function is a ________
_______ is favoured over conditionals to better write testable code.
_______ is a programming practice that expects new code to be written only if an automated test has failed and also to eliminate duplication.
API stands for _________
When the _________ is used as the methodβs first client, it becomes easier to focus purely on the API.
Eliminating duplication ensures that code is written thatβs not only testable but also ______
_____ platform builds the application from its various components.
The ___________ platform is the last staging area before production.
On the development platform, _________ unit tests are executed.
The ______ exercises the application under load and verifies that it scales correctly.
User feedback is got from the ________
To get an expected test outcome a standard procedure is followed which is referred as _____
The test instantiates ___________ and calls methods on these _________
The test runs while a ___________ or EJB container hosts the application.
A layered application may have a front end to handle the presentation and a _______ to execute the business logic.
_______ tests examine the code at the boundary of its public API.
Developers often combine functional tests with __________ tests.
Layering provides _______ and the ability to access the back end with several different front ends.
____ tests examine whether the application can process a large number of requests test types within a given period.
The stress test environment should be as close as possible to the __________ environment.
To implement a custom URL protocol handler, the URL method __________ is called.
______ replace the objects with which the methods under test collaborate, offering a layer of isolation.
_________ are empty shells that supply methods to let the tests have control of the behavior of all the business methods of the faked class.
The most important point to consider when writing a mock is that it shouldnβt have any ______
Applying the _________ pattern to a class means removing the creation of all object instances for which this class isnβt directly responsible and passing any needed instances instead.
______ is an architectural pattern that stores in-memory object data in relational databases.
_______ in computer science is a programming technique for converting data between incompatible type systems.
The ___________ is a software design pattern that allows the interface of an existing class to be used as another interface.
The _______________ is a design pattern that adds behavior to an individual object, either statically or dynamically, without affecting the behavior of other objects from the same class.
The ____________ is a design pattern in object-oriented programming that allows object composition to achieve the same code reuse as inheritance.
When unit testing, itβs important to be able to control as much as possible of the environment in which the tests execute.