6 Software Testing

Software Engineering · Unit 6

Software Testing

Exam-focused notes for Software Testing (Software Engineering, BIT302): what the TU syllabus asks and how it has actually been tested, with 8 solved past questions from this unit.

What this unit covers

  • Types of testing
  • Black box testing
  • White box testing
  • Unit testing
  • Component testing
  • Integration testing
  • System testing
  • Release testing
  • Test-driven development approach

Test-driven development approach

208210 marks

Explain the test driven development. List its advantages and disadvantages.[10]

Note: No specific reference notes were found for this topic. The following answer is based on standard Software Engineering curriculum content appropriate for BSc CSIT, Tribhuvan University. --- Test Driven Development (TDD) is a software development approa...

Full solved answer →
20815 marks

Write short notes on: a) open-source development b) Test driven development [5]

Open-source development is a software development model where the source code is made publicly available for anyone to view, use, modify, and distribute. It follows a collaborative, community-driven approach. - Public Repository: Source code is hosted on pl...

Full solved answer →
20795 marks

Why test driven development approach is productive in software development? Explain. [5]

Test Driven Development (TDD) is a software development approach in which tests are written before the actual code is written. The developer first writes a failing test case, then writes the minimum code to pass that test, and finally refactors the code. --...

Full solved answer →

Release testing

20825 marks

Explain the concept of release testing with an example. [5]

Release testing is a type of system testing where a version of a software system intended for release to customers is tested by a dedicated testing team (separate from the development team). The primary goal is to convince the supplier that the system is go...

Full solved answer →

Unit testing

208110 marks

Explain key activities performed during Unit testing, component testing and system testing.[10]

Note: The following answer is based on standard software engineering principles (Sommerville, Pressman) as no specific curriculum notes were provided. --- Unit testing focuses on testing individual program units or modules in isolation. It is typically perf...

Full solved answer →

Black box testing

20805 marks

Differentiate between black box testing and white box testing. [5]

Black box testing is a software testing technique in which the internal structure, design, or implementation of the system is not known to the tester. The tester only focuses on the inputs and outputs of the system without any knowledge of how the system pr...

Full solved answer →
05 marks

Differentiate between black box testing and white box testing. Explain the importance of white box testing. [5]

Aspect Black Box Testing White Box Testing --------- Knowledge of Internal Structure Tester has NO knowledge of internal code/structure Tester has FULL knowledge of internal code/structure Basis of Testing Based on requirements and specifications Based on i...

Full solved answer →

Types of testing

05 marks

List different types of testing. Explain component testing and integration testing. [5]

The main types of software testing are: 1. Component Testing (Unit Testing) 2. Integration Testing 3. System Testing 4. Acceptance Testing 5. Regression Testing 6. Performance Testing 7. Stress Testing 8. Black-box Testing 9. White-box Testing --- Component...

Full solved answer →