Bài 7/13 · 18 từ · đã thuộc 0
Testing and version control
Kiểm thử và quản lý mã nguồn
hợp nhất, gộp, merge
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.
Sau khi review xong, bạn có thể merge nhánh của mình vào nhánh chính.
The two customer databases were merged into a single system.
Hai cơ sở dữ liệu khách hàng đã được hợp nhất thành một hệ thống.
Đồng nghĩacombineuniteintegrateconsolidateamalgamatefuseblendTrái nghĩaseparatedividesplitdissolvedivergekho mã nguồn, repository (repo)
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.
Hãy clone repository về rồi làm theo hướng dẫn cài đặt trong tệp README.
Each microservice has its own repository on GitLab.
Mỗi microservice có repository riêng trên GitLab.
Đồng nghĩastorehousearchivedepotdatabaseTrái nghĩascatteringdistributionđảm bảo chất lượng, 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.
Nhóm QA kiểm tra mọi bản build trước khi gửi khách hàng.
He moved from quality assurance to software development last year.
Năm ngoái anh ấy chuyển từ mảng đảm bảo chất lượng sang phát triển phần mềm.
Đồng nghĩaquality controlQAtestingvalidationTrái nghĩaquality neglectcarelessnessquản lý phiên bản, kiểm soát phiên bản
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.
Tất cả tệp dự án đều được quản lý phiên bản nên không có gì bị mất.
Version control lets us see who changed each line and when.
Hệ thống quản lý phiên bản cho chúng tôi biết ai đã sửa từng dòng và vào lúc nào.
Đồng nghĩarevision controlsource controlTrái nghĩanonekiểm thử phần mềm, test phần mềm
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.
Việc kiểm thử phần mềm kéo dài hơn dự kiến vì có nhiều thay đổi phút chót.
She has five years of experience in software testing for banking apps.
Cô ấy có năm năm kinh nghiệm kiểm thử phần mềm cho các ứng dụng ngân hàng.
test case, kịch bản kiểm thử
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.
Tester đã viết bốn mươi test case cho quy trình thanh toán mới.
Two test cases failed, so the release was delayed.
Hai kịch bản kiểm thử bị lỗi nên đợt phát hành bị hoãn.
kiểm thử đơn vị, unit 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.
Mỗi hàm mới đều phải có unit test kèm theo.
The build failed because three unit tests did not pass.
Bản build bị lỗi vì ba unit test không đạt.
kiểm thử tích hợp
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.
Kiểm thử tích hợp cho thấy ứng dụng và cổng thanh toán trao đổi dữ liệu chưa đúng.
We do integration testing after each module is finished.
Chúng tôi thực hiện kiểm thử tích hợp sau khi hoàn thành mỗi mô-đun.
kiểm thử hồi quy
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.
Kiểm thử hồi quy phát hiện bản cập nhật đã làm hỏng chức năng tìm kiếm.
We automated our regression testing to save time before each release.
Chúng tôi đã tự động hóa kiểm thử hồi quy để tiết kiệm thời gian trước mỗi đợt phát hành.
UAT, kiểm thử chấp nhận người dùng
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.
Khách hàng sẽ bắt đầu UAT vào tuần sau và ký nghiệm thu nếu mọi thứ ổn.
Several issues were found during UAT, so go-live was postponed.
Nhiều lỗi được phát hiện trong giai đoạn UAT nên ngày vận hành chính thức bị lùi lại.
báo cáo lỗi, bug report
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.
Một báo cáo lỗi tốt có ảnh chụp màn hình và các bước tái hiện sự cố.
The tester filed a bug report about the broken export button.
Tester đã tạo báo cáo lỗi về nút xuất dữ liệu bị hỏng.
review code, rà soát mã nguồn
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.
Mọi thay đổi đều phải qua review code của ít nhất một lập trình viên cấp cao.
The code review found a security problem in the login logic.
Buổi rà soát code đã phát hiện một lỗ hổng bảo mật trong logic đăng nhập.
tái cấu trúc code, refactor
to improve the structure of existing code without changing what it does
We refactored the old billing module to make it easier to maintain.
Chúng tôi đã refactor mô-đun tính cước cũ để dễ bảo trì hơn.
Before adding new features, the team decided to refactor the messy code.
Trước khi thêm tính năng mới, nhóm quyết định tái cấu trúc phần code lộn xộn.
Git (hệ thống quản lý phiên bản)
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.
Lập trình viên mới phải học các lệnh Git cơ bản trong tuần đầu tiên.
We use Git with GitHub to manage all our projects.
Chúng tôi dùng Git cùng GitHub để quản lý tất cả dự án.
nhánh (code), branch
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.
Hãy tạo một nhánh mới cho mỗi tính năng bạn phát triển.
Never push untested code directly to the main branch.
Không bao giờ đẩy code chưa kiểm thử trực tiếp lên nhánh chính.
commit, lưu thay đổi (vào hệ thống quản lý phiên bản)
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.
Hãy commit thay đổi thường xuyên và viết thông điệp rõ ràng.
He committed the fix at midnight, just before the release.
Anh ấy commit bản sửa lỗi lúc nửa đêm, ngay trước giờ phát hành.
xung đột khi gộp code, merge conflict
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.
Tôi phải xử lý merge conflict vì hai chúng tôi cùng sửa một hàm.
Pull the latest changes often to avoid merge conflicts.
Hãy thường xuyên kéo thay đổi mới nhất về để tránh xung đột khi gộp code.
pull request (PR), yêu cầu gộp code
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.
Tôi đã tạo một pull request và nhờ hai đồng nghiệp review.
The pull request was approved and merged this morning.
Pull request đã được duyệt và merge sáng nay.

