原创 測試開發筆記2023年8月精華版

面向思維編寫用例的小竅門 測試是有發展前途的 關於Python和Java競爭力 當你覺得測試沒意思時 測試用例很難管理 我爲什麼不學編程語言了 一個測試背鍋案例分析

原创 pytestx容器化執行引擎

系統架構 前端、後端、pytest均以Docker容器運行服務,單獨的容器化執行引擎,項目環境隔離,即用即取,用完即齊,簡單,高效。 前端容器:頁面交互,請求後端,展示HTML報告 後端容器:接收前端請求,啓動任務,構建鏡像,觸發

原创 pytestx重新定義接口框架設計

概覽 腳手架: 目錄: 用例代碼: """ 測試登錄到下單流程,需要先啓動後端服務 """ test_data = { "查詢SKU": { "skuName": "電子書" }, "添加購物車

原创 對IoC容器和Bean的學習筆記

What We Mean by "Spring" The term "Spring" means different things in different contexts. It can be used to refer to the

原创 代碼評審,揭示黑盒背後的真相

一、引言 黑盒測試猶如案發現場,只能根據表象推斷事件經過。 代碼評審即深入調查,挖掘蛛絲馬跡的線索,揭示背後的真相。 "They think I am hiding in the shadows, but I am the shadows.

原创 優秀測試同學的12條準則

一、獨立且公正 測試過程和開發過程是獨立的,彼此之間沒有重疊或衝突,而是互相補充。測試人員要保持公正的態度, 不輕易被業務、產品、開發說服,因爲他們未必想的全。對於質量底線,要堅守,對於嚴重缺陷,要勇於提出反對意見。 二、質量第一,效率第二

原创 聚焦於任務調度的測試平臺pytestx

設計理念 聚焦於任務調度,接口自動化80%本地編寫,20%交由平臺管理。 如果使用pytest做接口自動化,那麼個人認爲最好的編寫工具是PyCharm,任何低代碼測試平臺都無法取代。當然不會代碼,或者不使用pytest,那低代碼測試平臺,或

原创 SpringBoot官方筆記8其他

Container Images FROM eclipse-temurin:17-jre as builder WORKDIR application ARG JAR_FILE=target/*.jar COPY ${JAR_FILE} a

原创 SpringBoot官方筆記7IO

Caching Spring Boot auto-configures the cache infrastructure as long as caching support is enabled by using the @EnableC

原创 SpringBoot官方筆記6消息

The Spring Framework provides extensive support for integrating with messaging systems, from simplified use of the JMS A

原创 SpringBoot官方筆記4Web

Most web applications use the spring-boot-starter-web module to get up and running quickly. You can also choose to build

原创 SpringBoot官方筆記5Data

Spring Boot integrates with a number of data technologies, both SQL and NoSQL. SQL Databases Spring Data provides an add

原创 SpringBoot官方筆記3核心

SpringApplication By default, INFO logging messages are shown, including some relevant startup details, such as the user

原创 SpringBoot官方筆記2使用

Build Systems 選擇Maven or Gradle,而不要Ant(not particularly well supported) In practice, you do not need to provide a versio

原创 SpringBoot官方教程1入門

Spring Boot helps you to create stand-alone, production-grade Spring-based applications that you can run. Most Spring Bo