当前位置:网站首页>Interface normative test standard specification - detailed
Interface normative test standard specification - detailed
2022-04-22 10:38:00 【I love roundness】
Field type : character string
Verification point : Must lose
Positive case : String values that meet other requirements
The counter case :
- There is no such field in the message
- null
- An empty string
Verification point : No need to lose
Positive case :
- String values that match other fields
- There is no such field in the message
- null
- An empty string
The counter case : nothing
Verification point : Value range ( Enumerated values )
Positive case : Values in range
The counter case : Values out of range
Verification point : Format length min-max
Positive case
- min A string
- max A string
The counter case
- min-1 A string
- max+1 A string
Verification point : The format can only be characters 、 Numbers
Positive case :
- character + A string of numbers
- A string of characters
- A string of numbers
The counter case :
- Characters composed of spaces
- The character and A string of numbers
Verification point : date (YYYY-MM-DD)
Positive case : Conform to the format requirements
The counter case :
- Does not meet the format requirements (YYYYMMDD) give an example 20210701
- 【 Unexpected 】 Value out of range ( month ), such as 2021-14-01
- 【 Unexpected 】 Value out of range ( date ), such as 2021-06-31
- Not 【 Unexpected 】 Non Runnian take 2 month 29 Japan , such as 2021-02-29
Verification point : Format Time hhmmss
Positive case : Conform to the format requirements
The counter case :
- 【 Unexpected 】 Does not meet the format requirements ( Less 1 position ) such as 81212
- 【 Unexpected 】 Does not meet the format requirements ( many 1 position ) such as 0634567
- 【 Unexpected 】 Value out of range ( when ) such as 990101
- 【 Unexpected 】 Value out of range ( branch ) such as 016001
- 【 Unexpected 】 Value out of range ( second ) such as 010180
Verification point : Format Time YYYY-MM-DD hh:mm:ss
Positive case : Conform to the format requirements
The counter case :
- Does not meet the format requirements (YYYY-MM-DD) such as 2021-06-01
- Value out of range , such as 2020-11-31 13:00:00,2021-13-31 01:01:01
- Non Runnian take 2 month 29 Japan , such as 2021-02-29 10:01:01
Verification point : Time stamp
Positive case : Conform to the format requirements
The counter case :
- Not in the range of values , such as 1234567890
- Does not meet the format requirements (YYYY-MM-DD hh:mm:ss), such as 2022-04-21 10:10:10
Field type : Integers
Verification point : Must lose
Positive case : Integer value that meets the requirements
The counter case
- null
- There is no such field in the message
Verification point : No need to lose
Positive case :
- Integer value that meets the requirements
- There is no such field in the message
- null
The counter case : nothing
Verification point : Value range ( Enumerated values )
Positive case : Values in range
The counter case : Values out of range
Verification point : length min-max
Positive case
- min-1 Bit minimum negative integer
- max Bit maximum positive integer
The counter case
- min Bit maximum negative integer
- max+1 Bit minimum positive integer
Verification point : The format can only be an integer
Positive case :
- Values that match the format
- The first digit before the integer is 0
The counter case
- decimal
- Letter
- Integer followed by . such as 1.
- Integer followed by .0 such as 1.0
Field type : floating-point
Verification point : Must lose
Positive case : Satisfactory value
The counter case :
- There is no such field in the message
- null
Verification point : No need to lose
Positive case :
- Values that meet the format requirements
- There is no such field in the message
- null
The counter case : nothing
Verification point : Format :Number(m,n) m=3,n=1
Positive case
- The maximum positive number that meets the format requirements such as 99.9
- The minimum negative number that meets the format requirements such as -99.9
- Integers such as 99
The counter case
- Input 2 A or 2 More than decimal points such as 1.2.1
- The sum of integer and decimal positions exceeds the maximum m such as 12.99
- Input non numeric such as a
Verification point Format Number(m) m=3
Positive case :
- The maximum positive number that meets the format requirements
- The minimum negative number that meets the format requirements
The counter case
- The maximum number of digits is exceeded m
- Input decimal
- Input non numeric
The test case
Published on 2022-04-21 The copyright belongs to the author
More relevant recommendations 
Test cases Design and review criteria V1.0
Oranges are afraid of getting angry 290 read 0 Comment on
Interface test standard
Small fish mushroom 551 read 0 Comment on
The latest release Interface test Idea and purpose
Another piece of braised meat 1595 read 0 Comment on

Interface test Use case design theory
Fat titanium Wolf 186 read 0 Comment on

Interface test Of test Use case writing
Mei Mei at the tuyere 2281 read 0 Comment on
【 automation test 】 Interface test And RESTful Interface
Black, white and white 385 read 0 Comment on
Interface test Use case design _ Magic snow blog _ Interface Of test Use cases
Usually , Design Interface test Use cases need to consider the following aspects : 1、 Whether the preconditions are met There are some Interface Preconditions need to be met , In order to obtain data successfully . common , Need to log in Token. Reverse use cases : Whether the preconditions are met ( Assuming that n Conditions ), Design 0~n Use cases ...
Interface test Use case specification _weixin_30305735 The blog of
Interface test Use case specification 1. Through sexual verification : Be sure to guarantee this first Interface The function is easy to use , That is, normal passing test , according to Interface Parameters on document , Normal incoming , Whether the correct result can be returned . 2. Parameter combination : Now there is a for operating goods Interface , There is a field type, Pass on 1 It means to modify the product ...
Interface test Basic process and use case design _ March Lan's blog _ Interface test Templates
Check the security of the system 、 stability 3、 Interface test technological process Requirements review , Familiar with business and requirements → Development and supply Interface file → To write Interface test Use cases → Use case review → Start after the test test → Submit test The report 4、 Interface Specification document Interface The documentation shall at least include : ...
Interface test Use cases _ Collection , Interface test Use case design _weixin_39631932...
12、 Interface Exception use cases involved test Point design Two 、 page test Use case design Page functions test Mainly from 3 The composition of large blocks : 1. Page function display : The page function display is mainly to verify the static pictures of some pages 、 typeface 、 spacing 、 Whether the content display such as typesetting is standardized , The specific verification can be compared through the prototype diagram in the requirements ...
Interface Development specifications and Interface test _ Mackenzie _ Interface test standard
Swagger It's the largest in the world OpenAPI standard (OAS)API Development tool framework , Support from design and documentation to test And the entire deployment API Life week Development of phase . (https://swagger.io/) Spring Boot Can be integrated Swagger, Generate Swagger Interface ,Spring Boot yes Java The artifact of the realm , It is Spring Fast under the project ...
Interface automation test Use case design method _a00y00 The blog of _ Interface automation ...
One 、 Interface Parameter override Interface test Use parameter combinations through input , Get the return value of the server , Judge whether it meets the expected value according to the preset rules . stay Interface test According to the Interface The functions of are different , Need to focus on different aspects of testing , The design of use cases is mainly considered from the following aspects ...
Embedded software Interface Yes? test , Embedded system Interface test Strategy .doc
Lanling Qionghua 245 read 0 Comment on
Of multiple microservices Interface How to rely on test _ Microservices test And Interface test And the contract test
weixin_39870413 130 read 0 Comment on
【RESTful】RESTful API Interface design code | Example
offend the emperor or a powerful person 1232 4711 read 0 Comment on
Summary of bookmark making activities of grade 3 Reading Festival pdf Arrangement .zip
Little bread of knowledge 0 download
版权声明
本文为[I love roundness]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221022156634.html
边栏推荐
- 【leetcode】145. Binary Tree Postorder Traversal
- [siggraph 2022] domain enhanced arbitrary image style contrast migration method
- 【uvm】 raise_objection之前不能加入消耗仿真时间的语句
- ffmpeg filtergraph同时添加缩放和osd滤镜
- 全网最详细KaLi系统配置和安装教程,我妈看了都会!
- PHP gets the IP and limits the submission times in minutes, which is suitable for too frequent acquisition of verification code
- Best practices for cost reduction and efficiency increase of public cloud
- oracle中時間函數總結
- Résumé de la fonction temps dans Oracle
- cesium地图右击菜单(cesium篇.72)
猜你喜欢

OneFlow學習筆記:從Functor到OpExprInterpreter

asm disk 磁盘部分被清空恢复---惜分飞

QT record of some problems in signal slot connection

Use of checkbox

文章84:投资最重要的事是安全框架:猪周期结束,畜牧成为两市唯一确定板块(框架思维)

Secure remote access + secure file transfer + terminal simulation + Remote Management - Shanghai daoning united with Van Dyke to bring reliable and easy to configure software to IT industry personnel

信息论小结(一)

003-MySQL索引
![[issue 307] in terms of implementation principle, why is Nacos so strong?](/img/e0/61e837cd6cf3528252a721e9ec13a3.png)
[issue 307] in terms of implementation principle, why is Nacos so strong?

ONEFLOW learning notes: from functor to opexprinter
随机推荐
LLVM之父Chris Lattner:编译器的黄金时代
Qt关于信号槽连接出现的一些问题记录
MySQL基础合集
Tree DP - p1122 maximum subtree sum
PCIE XDMA IP核介绍(附列表)-明德扬科教(mdy-edu.com)
文章84:投资最重要的事是安全框架:猪周期结束,畜牧成为两市唯一确定板块(框架思维)
Dynamic visualization of data based on pyqt5
[SV] assign force difference
《日志:每个软件工程师都应该了解实时数据的统一抽象》
Introduction and basic use of numpy Library
MySql5. 7.26 installation
vmware虚拟机下载并安装教程
批量更新软件和安全优化(以openssh为例) —— 筑梦之路
Oracle account is locked. Unlocking method
php 獲取IP以分鐘限制提交次數,適用於驗證碼獲取過於頻繁
Function, purpose and implementation of API gateway
(产品资源)明德扬AD8488模块高性能数字X射线FMC接口128模拟通道高速ADC芯片
进入机器人无人机领域,你会遇到哪些常见难题?
Query process of 004-mysql
Dnspy modifies the army maintenance cost and hero maintenance coefficient of iglia War Records