You've been told to test a function that calculates the sum of two numbers. Which type of test would this typically fall under?

  • Unit Testing
  • Integration Testing
  • System Testing
  • User Acceptance Testing
Testing a function that calculates the sum of two numbers would typically fall under Unit Testing. Unit tests focus on testing individual components or functions in isolation to ensure they work as expected. In this case, you're testing a specific function, making it a unit test scenario.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *