1.Unit testing(basic)November 20112. What is Unit TestingUnit test is a method by which individual units of source codeare tested to determine if they are fit for use.A unit…