跳至主要內容

第 7/13 課 · 18 個單字 · 已學會 0 個

Testing and version control

測試與版本控制

  1. 1

    merge(verb)

    /mɜːrdʒ/

    合併, 整合

    to combine two or more things into one, such as joining changes from one branch of code into another

    After the review, you can merge your branch into main.

    審查完成後,你就可以把你的分支合併到主分支。

    The two customer databases were merged into a single system.

    同義詞combineuniteintegrateconsolidateamalgamatefuseblend
    反義詞separatedividesplitdissolvediverge
  2. 2

    repository(noun)

    /rɪˈpɑːzətɔːri/

    程式碼儲存庫, 版本庫

    a central place where files, especially a project's code and its history of changes, are stored

    Clone the repository and follow the setup guide in the README file.

    請複製(clone)這個儲存庫,並依照README檔案中的設定指南操作。

    Each microservice has its own repository on GitLab.

    同義詞storehousearchivedepotdatabase
    反義詞scatteringdistribution
  3. 3

    quality assurance(noun)

    ˈkwɒlɪti əˈʃʊərəns

    品質保證, QA

    the work of checking that products and processes meet agreed quality standards, often shortened to QA

    Our quality assurance team tests every build before it goes to the client.

    我們的品質保證團隊會在每個建置版本交給客戶之前進行測試。

    He moved from quality assurance to software development last year.

    同義詞quality controlQAtestingvalidation
    反義詞quality neglectcarelessness
  4. 4

    version control(noun)

    /ˈvɜːʃn kənˌtrəʊl/

    版本控制, 版本管理

    a system that records every change to files, especially code, so teams can track and undo changes

    All project files are kept under version control, so nothing is lost.

    所有專案檔案都納入版本控制,因此不會有任何遺失。

    Version control lets us see who changed each line and when.

    同義詞revision controlsource control
    反義詞none
  5. 5

    software testing(noun)

    /ˈsɒftweə ˌtestɪŋ/

    軟體測試

    the process of checking that a program works correctly and meets its requirements before it is released

    Software testing took longer than planned because of many last-minute changes.

    由於許多臨時變更,軟體測試所花的時間比預期更長。

    She has five years of experience in software testing for banking apps.

  6. 6

    test case(noun)

    /ˈtest keɪs/

    測試案例

    a set of steps, input data and expected results used to check one function of a system

    The tester wrote forty test cases for the new checkout process.

    測試人員為新的結帳流程撰寫了四十個測試案例。

    Two test cases failed, so the release was delayed.

  7. 7

    unit test(noun)

    /ˈjuːnɪt test/

    單元測試

    a small automated test that checks one function or small part of the code on its own

    Every new function must come with unit tests.

    每個新函式都必須附上單元測試。

    The build failed because three unit tests did not pass.

  8. 8

    integration testing(noun)

    /ˌɪntɪˈɡreɪʃn ˌtestɪŋ/

    整合測試

    testing that checks whether different parts or systems work correctly together

    Integration testing showed that the app and the payment gateway were not exchanging data correctly.

    整合測試顯示應用程式與支付閘道之間的資料交換不正確。

    We do integration testing after each module is finished.

  9. 9

    regression testing(noun)

    /rɪˈɡreʃn ˌtestɪŋ/

    迴歸測試

    testing again after a change to make sure that features which worked before still work

    Regression testing found that the update had broken the search function.

    迴歸測試發現這次更新破壞了搜尋功能。

    We automated our regression testing to save time before each release.

  10. 10

    UAT(abbreviation)

    /ˌjuː eɪ ˈtiː/

    使用者驗收測試, UAT

    user acceptance testing: the final testing stage, where real users check that the system meets their needs

    The client will start UAT next week and sign off if everything works.

    客戶下週將開始進行使用者驗收測試,若一切運作正常便會簽核。

    Several issues were found during UAT, so go-live was postponed.

  11. 11

    bug report(noun)

    /ˈbʌɡ rɪˌpɔːt/

    錯誤報告, 缺陷報告, Bug 回報

    a written description of a software problem, including how to reproduce it and what should happen instead

    A good bug report includes screenshots and the steps to reproduce the problem.

    一份好的錯誤報告會附上螢幕截圖和重現問題的步驟。

    The tester filed a bug report about the broken export button.

  12. 12

    code review(noun)

    /ˈkəʊd rɪˌvjuː/

    程式碼審查, 程式碼審閱, Code Review

    the process in which developers check each other's code for mistakes and quality before it is merged

    Every change must pass code review by at least one senior developer.

    每一項變更都必須通過至少一位資深開發人員的程式碼審查。

    The code review found a security problem in the login logic.

  13. 13

    refactor(verb)

    /ˌriːˈfæktə(r)/

    重構

    to improve the structure of existing code without changing what it does

    We refactored the old billing module to make it easier to maintain.

    我們重構了舊的計費模組,讓它更容易維護。

    Before adding new features, the team decided to refactor the messy code.

  14. 14

    Git(noun)

    /ɡɪt/

    Git, 版本控制系統

    the most widely used version control system, which tracks changes in code and helps teams work together

    New developers must learn basic Git commands in their first week.

    新進開發人員必須在第一週內學會基本的 Git 指令。

    We use Git with GitHub to manage all our projects.

  15. 15

    branch(noun)

    /brɑːntʃ/

    分支

    a separate copy of the code where a developer can work on changes without affecting the main version

    Create a new branch for each feature you work on.

    每開發一項功能,都要建立一個新的分支。

    Never push untested code directly to the main branch.

  16. 16

    commit(verb)

    /kəˈmɪt/

    提交, commit

    to save a set of changes to a version control system, with a short message describing them

    Commit your changes often and write clear messages.

    請經常提交你的變更,並撰寫清楚的提交訊息。

    He committed the fix at midnight, just before the release.

  17. 17

    merge conflict(noun)

    /ˈmɜːdʒ ˌkɒnflɪkt/

    合併衝突

    a situation where two people changed the same part of a file, so the system cannot combine the changes automatically

    I had to resolve a merge conflict because two of us edited the same function.

    我們兩個人編輯了同一個函式,所以我必須解決合併衝突。

    Pull the latest changes often to avoid merge conflicts.

  18. 18

    pull request(noun)

    /ˈpʊl rɪˌkwest/

    合併請求, Pull Request, PR

    a request to merge your code changes into the main project, so that others can review them first

    I opened a pull request and asked two colleagues to review it.

    我發起了一個合併請求,並請兩位同事幫忙審查。

    The pull request was approved and merged this morning.