Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
A log of program execution
A message displayed to the user
A report on code coverage
A mock object used in testing
Testing individual units or components of code in isolation
Testing the entire program as a whole
Testing user interface interactions
Testing database connections
unittest
pytest
doctest
all of the above
python -m unittest test_case.py
python -m unittest discover
python -m unittest test_case.TestClass.test_method
python -m unittest test_case.TestClass
A test that verifies the entire system
A test that verifies a single function or module
A test that verifies changes made to the code do not cause existing functionality to break
A test that verifies the database
A location in the code where the program stops running
A location in the code where the program starts running
A location in the code where the program outputs a message
A location in the code where the program skips a line
A tool used to test user interfaces
A tool used to analyze code performance
A tool used to verify database connections
A tool used to find and fix errors in code
To verify the user interface
To verify database connections
To measure how much of the code is being tested
To measure how much of the code is being used by the user
To measure the amount of code that is executed during testing
To generate test data for use in testing
To identify and fix errors in code
To simulate user interactions with a system
A test that introduces deliberate errors into the code to measure the effectiveness of tests
A test that simulates user interactions with a system
A test that verifies that code is functioning as expected
A test that measures the performance of a system under heavy loads