Softwaretesting 11 eng

20 0 0
Softwaretesting 11 eng

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

ソフトウェアテスト    [11] テスト駆動開発演習 Software Testing [11] Test-driven development Exercise あまん ひろひさ ひろひさ 阿萬 裕久 裕久( AMAN Hirohisa ) aman@ehime-u.ac.jp (C) 2007-2022 Hirohisa AMAN Exercise purpose  Experience and learn test-driven develo pment based on test first  Main contents  Practice test-driven development with a sim ple example  Test driven development of a f unction that m eet the specifications (C) 2007-2022 Hirohisa AMAN Exercise content  Exercise Experience test-driven development with a sim ple example  Exercise Complete f unctions that satisf y a given specific a given specific ation though test driven development (C) 2007-2022 Hirohisa AMAN Exercise [Target program] sample1101.c [Support program] run_test.h  run_test.h provides functions to support test-driven development exercises  Complete the program by a given specific editing sample 1101.c as explained below (C) 2007-2022 Hirohisa AMAN What is test-driven developmen t? Iterative technique to make “test case fir st” Next, write a program that passes it write a program that passes it The new test should fail the first time (because it is not implemented yet) ① Test case creation Review Success ②Testin g Failure Refactoring (as needed) Success (C) 2007-2022 Hirohisa AMAN ③ Programming ④ Testing Failure Development goals f or Exercise  Make the function get_digit_number  This function return the number of digits f or an integer x given as an argument  Where, 0< x

Ngày đăng: 26/07/2023, 21:58

Tài liệu cùng người dùng

Tài liệu liên quan