What is the difference between load and stress testing?
LOAD TEST:
E.G. concurrent users or transactions within the set duration.
This test will give out the response times of all the important business critical transactions.
STRESS TESTING:
What is Mocking?
An object under test may have dependencies on other (complex) objects.
To isolate the behaviour, we replace the other objects by “mocks” that replicate the behaviour of the real objects.
In short, *mocking *is creating objects that simulate the behavior of real objects.
Mocking is primarily used in unit testing.
Difference between unit & integration tests?
Unit Test - testing an individual unit, such as a method (function) in a class, with all dependencies mocked up.
Functional Test - AKA Integration Test, testing how one function integrates with another.
This will test many methods and may interact with dependencies like Databases or Web Services.
Difference between acceptance test and functional test?
A functional test verifies that the product actually works as you (the developer) think it does:
Acceptance tests verify the product actually solves the problem it was made to solve.
What is profiling?
*Profiling *measures how long various parts of the code take to run.
This is particularly useful if you have some code that is running slower than you need it to run.