我是賽普拉斯的新手,並試圖找到在哪裡存儲我們的測試的最佳實踐。我看到似乎有足夠的資源來組織文件夾以設置固定裝置,測試,插件等。但是,如果人們實際上使用正在測試的前端代碼來存儲測試或在自己的單獨存儲庫中?
嘗試設置CICD時,兩者之間有什麼優勢嗎?
我是賽普拉斯的新手,並試圖找到在哪裡存儲我們的測試的最佳實踐。我看到似乎有足夠的資源來組織文件夾以設置固定裝置,測試,插件等。但是,如果人們實際上使用正在測試的前端代碼來存儲測試或在自己的單獨存儲庫中?
嘗試設置CICD時,兩者之間有什麼優勢嗎?
There are no best practices, only good practices in context. With the scripts configured correctly, nothing more than a make test
is necessary.
E.g., If you have a Jenkins job to run your automated checks:
test:
curl -X POST http://jenkins_server.com:port/job/job-name/build
If you have to fetch code from other sources, you can run a git clone
or a wget
.
In the end, after the abstractions are in place, the details barely matter.