Other types of testing, such as integration and functional testing have their own roles in testing software. Unit testing is not the only type and it alone cannot handle all testing aspects. If the unit under test have external dependencies, such as an external data source or a Web service, the dependencies are replaced with a test implementation or a mock object created using a test framework. Unit tests are not done on the production system but as isolated units. The objective is to check if the unit of the software, for example a public method of a class under test, behaves as expected and/or returns the expected data. In most cases, you as a programmer are responsible to deliver unit tested code. Unit testing is the first level of testing software where you write test code that executes a specific functionality in the code to be tested.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |