Test Driven Development (TDD) là gì? Định nghĩa và giải thích ý nghĩa

Related Articles

Định nghĩa Test Driven Development (TDD) là gì?

Test Driven Development (TDD) là Test Driven Development (TDD). Đây là nghĩa tiếng Việt của thuật ngữ Test Driven Development (TDD) – một thuật ngữ thuộc nhóm Technology Terms – Công nghệ thông tin.

Độ phổ biến(Factor rating): 5/10

Kiểm tra tăng trưởng hướng ( TDD ) là một cách tiếp cận tăng trưởng ứng dụng, trong đó một thử nghiệm được viết trước khi viết mã. Khi mã mới vượt qua kiểm tra, nó được refactored để một tiêu chuẩn đồng ý được. TDD bảo vệ rằng mã nguồn được triệt để đơn vị chức năng kiểm tra và dẫn đến Modularized, mã linh động và lan rộng ra. Nó tập trung chuyên sâu vào văn bản chỉ mã thiết yếu để vượt qua những bài kiểm tra, làm cho phong cách thiết kế đơn thuần và rõ ràng .

Giải thích ý nghĩa

TDD cho phép các lập trình viên để thực hiện các bước nhỏ trong khi viết phần mềm. Xét nghiệm này được viết trước khi thử nghiệm các chức năng và đảm bảo rằng các ứng dụng phù hợp cho testability. Thử nghiệm trên một số lượng nhỏ của mã được thực hiện để lỗi bẫy xảy ra trong mã thử nghiệm. Sau đó, các chức năng được thực hiện. Điều này được gọi là “cấu trúc lại đỏ xanh”, nơi phương tiện đỏ thất bại và hiển thị màu xanh lá cây quả câu bổng. Những bước này sau đó được lặp đi lặp lại. Mục tiêu đầu tiên của một lập trình viên là tập trung vào nhiệm vụ trong tầm tay và để vượt qua nó. Các bước khác nhau tham gia vào một thử nghiệm điều khiển chu trình phát triển bao gồm:

What is the Test Driven Development (TDD)? – Definition

Test driven development ( TDD ) is an software development approach in which a test is written before writing the code. Once the new code passes the test, it is refactored to an acceptable standard. TDD ensures that the source code is thoroughly unit tested and leads to modularized, flexible and extensible code. It focuses on writing only the code necessary to pass tests, making the design simple and clear .

Understanding the Test Driven Development (TDD)

TDD enables the programmer to take small steps while writing software. The test is written before testing the functionality and ensures that the application is suitable for testability. Testing on a small amount of code is performed to trap errors that occur in the tested code. Then the functionality is implemented. This is referred to as ” red green refactor ” where red means fail and green shows a pass. Thes e steps are then repeated. The first goal of a programmer is to focus on the task at hand and to pass it. The different steps involved in a test driven development cycle are :

Thuật ngữ liên quan

  • Alpha Test
  • Unit Test
  • Quality Assurance (QA)
  • Software Development
  • Software Development Kit (SDK)
  • White-Box Testing
  • Software Development Life Cycle Model (SDLC)
  • Code
  • Software Engineering
  • Agile Software Development

Source: Test Driven Development (TDD) là gì? Technology Dictionary – Filegi – Techtopedia – Techterm

More on this topic

Comments

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Advertismentspot_img

Popular stories