Posts

Showing posts from November, 2018

Software Testing Questions

Purdue CS408 Software Testing Midterm 2018 Why test generation is difficult to automate? Unfortunately, automated test generation is infeasible in general because defining test oracle is mainly a manual process. What is testing oracle? test oracle is the procedure that determines if a test fails or passes. Test Gen -> Test Run -> Debugging -> Back to Test Gen Test gen Test run Stop Condition – # of bugs identified (graph should be reducing), coverage, Mutation Testing Test case id important level   L1 critical, if fail, can’t continue anything else L2 functional L3 usability The “law of conservation of bugs”: The number of bugs remaining in a large system is proportional to the number of bugs already fixed. Ripple Effect There is a high probability that the efforts to remove the defects may have actually added new defects The maintainer tries to fix problems without fully understanding the ramifications of th...