码迷,mamicode.com
首页 >  
搜索关键字:test case    ( 43904个结果
Maven项目中mvn test执行TestNG配置文件
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M5</version> <configuration> <!-- S ...
分类:其他好文   时间:2021-05-24 03:28:46    阅读次数:0
list自定义排序
compareTo()方法:a.compareTo(b),如果a<b return -1,如果 a>b return 1 在下列的排序中,如果a<b,则返回-1,正常递增排序,如果a>b,返回1,则a和b的位置替换下。public class EqualsAndHashCode { private ...
分类:编程语言   时间:2021-05-24 03:21:54    阅读次数:0
做题集——(高精度+找规律)Friends
题目: http://acm.hdu.edu.cn/showproblem.php?pid=5241 题面: Sample Input 2 0 2 Ouput Case #1: 1 Case #2: 1024 题意: M会使用n种语言,M的九个朋友会的语言都是M的子集,并且给出九个朋友会的语言的关系 ...
分类:其他好文   时间:2021-05-24 03:13:28    阅读次数:0
二叉树的基本操作【C语言】
数据结构二叉树的基本操作设计#include <conio.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #define MAXLEN 100 #define NLAYER 4 typedef struct BiTNode / ...
分类:编程语言   时间:2021-05-24 01:40:53    阅读次数:0
解决git报错refusing to merge unrelated histories
PS C:\ycm\test\ts-newProjet> git pull origin master * branch master -> FETCH_HEAD fatal: refusing to merge unrelated histories 在新建项目时报refusing to merg ...
分类:其他好文   时间:2021-05-24 01:24:52    阅读次数:0
【Python】 读写MySQL
db_info = {'user': 'root', 'password': '123456', 'host': 'localhost', 'port': 3306, 'database': 'test' }'mysql+pymysql://%(user)s:%(password)s@%(host) ...
分类:数据库   时间:2021-05-24 01:23:49    阅读次数:0
Pytest测试框架(3)--参数设置、丰富的第三方插件 实现自定义执行
1。 调整用例执行顺序 默认按名称顺序执行。安装pip install pytest-ordering, 在测试方法上加装饰器@pytest.mark.last @pytest.mark.run(order=1) 2。遇到错误停止执行 -x 参数 pytest -x -v -s test_01.py ...
分类:其他好文   时间:2021-05-24 00:48:43    阅读次数:0
Pytest测试框架(2)
pytest参数化与数据驱动实现—— 1. 使用@pytest.mark.parametrize进行参数化和数据驱动 import pytest @pytest.mark.parametrize("test_input, expected", [('3+5', 8), ('1+5', 6), ('3 ...
分类:其他好文   时间:2021-05-24 00:42:51    阅读次数:0
java冒泡排序算法
package test; public class BubbleSort { public void bubble(Integer[] array,int from,int end) { for(int k=1;k<end-from+1;k++) { for(int i=end-from;i>=k ...
分类:编程语言   时间:2021-05-24 00:31:25    阅读次数:0
shell中的引号和转义
引号和转义 Bash 只有一种数据类型,就是字符串。不管用户输入什么数据,Bash 都视为字符串。因此,字符串相关的引号和转义,对 Bash 来说就非常重要。 转义 某些字符在 Bash 里面有特殊含义(比如$、&、*)。 $ echo $date $ 上面例子中,输出$date不会有任何结果,因为 ...
分类:系统相关   时间:2021-05-24 00:19:28    阅读次数:0
43904条   上一页 1 ... 20 21 22 23 24 ... 4391 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!