Pro Git 2nd Edition 2.1.413com/dustin/grit.git |\ | * 420eac9 Add method for getting the current branch * | 30e367c Timeout code and tests * | 5a09431 Add timeout protection to grit * | e1193f8 Support for heads with slashes in them |/ * address 1 file changed, 2 insertions(+) Figure 21. Hotfix branch based on master You can run your tests, make sure the hotfix is what you want, and finally merge the hotfix branch back into your master (short-lived branches, like your earlier iss53 branch) when they’re ready, to make sure they pass all the tests and don’t introduce bugs. In reality, we’re talking about pointers moving up the line of commits0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413com/dustin/grit.git |\ | * 420eac9 Add method for getting the current branch * | 30e367c Timeout code and tests 43 * | 5a09431 Add timeout protection to grit * | e1193f8 Support for heads with slashes in them 1 file changed, 2 insertions(+) 72 Figure 21. Hotfix branch based on master You can run your tests, make sure the hotfix is what you want, and finally merge the hotfix branch back into your master (short-lived branches, like your earlier iss53 branch) when they’re ready, to make sure they pass all the tests and don’t introduce bugs. In reality, we’re talking about pointers moving up the line of commits0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 com/dustin/grit.git |\ | * 420eac9 Add method for getting the current branch * | 30e367c Timeout code and tests * | 5a09431 Add timeout protection to grit * | e1193f8 Support for heads with slashes in them |/ * address 1 file changed, 2 insertions(+) Figure 21. Hotfix branch based on master You can run your tests, make sure the hotfix is what you want, and finally merge the hotfix branch back into your master (short-lived branches, like your earlier iss53 branch) when they’re ready, to make sure they pass all the tests and don’t introduce bugs. In reality, we’re talking about pointers moving up the line of commits0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66com/dustin/grit |\ | * 420eac9 Added a method for getting the current branch. * | 30e367c timeout code and tests * | 5a09431 add timeout protection to grit * | e1193f8 support for heads with slashes in them |/ *Date: Fri Jan 2 18:32:33 2009 -0800 fixed refs handling, added gc auto, updated tests commit d921970aadf03b3cf0e71becdaab3147ba71cdef Merge: 1c002dd... 35cfb2b... Author: Scott Chacon Date: Fri Jan 2 18:32:33 2009 -0800 fixed refs handling, added gc auto, updated tests commit d921970aadf03b3cf0e71becdaab3147ba71cdef Reflog: master@{1} (Scott Chacon ) 0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66com/dustin/grit |\ | * 420eac9 Added a method for getting the current branch. * | 30e367c timeout code and tests * | 5a09431 add timeout protection to grit * | e1193f8 support for heads with slashes in them |/ *Date: Fri Jan 2 18:32:33 2009 -0800 fixed refs handling, added gc auto, updated tests commit d921970aadf03b3cf0e71becdaab3147ba71cdef Merge: 1c002dd... 35cfb2b... Author: Scott Chacon 2 18:32:33 2009 -0800 将引用日志想作 Git 版的 shell 历史记录 fixed refs handling, added gc auto, updated tests commit d921970aadf03b3cf0e71becdaab3147ba71cdef Reflog: master@{1} (Scott Chacon ) 0 码力 | 670 页 | 13.59 MB | 1 年前3
Gitea v1.21.1 中文文档涵盖了单元测试。 您可以设置环境变量 GITEA_UNIT_TESTS_LOG_SQL=1 以在详细 模式下运行测试时显示所有 SQL 语句(即设置 GOTESTFLAGS=-v 时)。 1. TAGS="bindata sqlite sqlite_unlock_notify" make test # Runs the unit tests 单元测试不会也不能完全单独测试 Gitea。因此, sqlite_unlock_notify" make build test-sqlite 将在 SQLite 环境中运行集成测试。集成测试需要安装 git lfs 。其他数据库测试可用,但 可能需要适应当地环 境。 看看 tests/integration/README.md 有关更多信息以及如何运行单个测试。 我们的持续集成将测试代码是否通过了单元测试,并且所有支持的数据库都将在 Docker 环境中通过集成测试。 还 等。 web 将启动Web服 务。 serv 和 hooks 将被Git或OpenSSH调用。其他子命令可以帮助维护Gitea。 tests :常用的测试函数 tests/integration :集成测试,用于测试后端回归。 tests/e2e :端到端测试,用于测试前端和后端的兼容性和视觉回归。 models :包含由xorm用于构建数据库表的数据结构。它还包含查询和更新数据库的函数。应避免与其他0 码力 | 303 页 | 3.88 MB | 1 年前3
共 6 条
- 1













