7.配置 7.1 pytest配置文件概念 pytest常见的非测试文件,如下所示: 1.pytest.ini:pytest的主配置文件,可以改变pytest的默认行为,其中有很多可配置的选项 2.conftest.py:本地的插件库,其中的hook函数和fixture将作用于该文件所在的目录及其子 ...
分类:
其他好文 时间:
2020-07-07 19:31:41
阅读次数:
40
#基础用例数据类class CaseInfo: def __init__(self,case_id,case_name,case_module,case_pri,case_step,case_result): self.case_id=case_id self.case_name=case_name ...
分类:
其他好文 时间:
2020-07-07 17:34:21
阅读次数:
57
序言 在 Angular 5.X 中,有一个特别的标签: <router-outlet> , 其实,同样的,甚至同名的标签,在 React 中也有。 可见 Angular 与 React 的相似性有多高! 在 app.module.ts 路由文件中,有这么一段代码: imports: [ Brows ...
分类:
其他好文 时间:
2020-07-07 15:45:53
阅读次数:
80
这两天在配置webpack4.0的时候,出现了下面的问题 module: { rules: [{ test: /\.css$/, use: [{ loader: 'style-loader', options: { insertAt: "top" }, }, 'css-loader'] }, { t ...
分类:
Web程序 时间:
2020-07-07 09:24:32
阅读次数:
131
node端 第一步 先创建一个路由 'use strict' /** * @param {Egg.Application} app - egg application */ module.exports = ({ router, controller: { searchStastics: { sea ...
分类:
其他好文 时间:
2020-07-06 20:09:33
阅读次数:
100
1.源文件 `timescale 1ns / 1ps module first_verilog( input clk, input rst, output reg cycle_20ms ); reg [23:0] cnt_reg ; always @(posedge clk) begin if(rs ...
分类:
其他好文 时间:
2020-07-06 16:33:26
阅读次数:
90
激光雷达模块支持提高高速公路速度 LiDAR module supports increased highway speed What’s LIDAR? 自动驾驶技术的出现,无疑地扩大了激光成像探测和测距(LiDAR)传感器在汽车电子平台中的应用。激光雷达根据雷达原理工作,但使用红外激光二极管发射的 ...
分类:
其他好文 时间:
2020-07-06 14:37:54
阅读次数:
66
1 为什么要使用模块 当应用变得复杂时,store对象就会变得相当臃肿,为了解决这个问题,可以将store分割成模块(module)。而每个模块拥有自己的store mutation action getter等 2 代码 2.1 分割模块与定义模块 src\store\index.js modul ...
分类:
其他好文 时间:
2020-07-06 01:19:48
阅读次数:
64
本文主要介绍服务器端环境配置,开发环境是window的话可以参考 https://www.cnblogs.com/nickchou/p/10765743.html 方式一、用yum安装 【不推荐】 1、用yum指令安装缺点是:不是最新版 yum install golang 方式二、使用二进制文件安 ...
分类:
其他好文 时间:
2020-07-06 00:51:01
阅读次数:
237
.h { #ifndef __LUA_YFFMPEG_H__ #define __LUA_YFFMPEG_H__ #ifdef __cplusplus extern "C" { #endif #include "tolua++.h" #ifdef __cplusplus } #endif TOLUA ...
分类:
其他好文 时间:
2020-07-05 23:16:34
阅读次数:
78