13、场景法

什么是场景法? 场景法就是模拟用户操作软件时的场景,主要用于测试系统的业务流程。 >当拿到一个测试任务时,我们并不是先关注某个控件的边界值、等价类是否满足要求,而是先要关注它的主要功能和业务流程是否正确实现,这就需要使用场景法来完成测试。 >当业务流程测试没有问题,也就是该软件的主要功能没有问题时,我们再重点从边界值、等价类等方面对控件进行测试 简单来说: 主要用来测试业务流程;分为基本流(正确流程)和备选流(错误流程) 注意:还要补充一些异常情况;    在冒烟测试中主要采用场景法来测试;
分类: 其他 发布时间: 10-27 21:52 阅读次数: 0

Vue2 学习笔记4

文中例子代码请参考github 父组件向子组件传值 组件实例定义方式,注意:一定要使用props属性来定义父组件传递过来的数据 <script> // 创建 Vue 实例,得到 ViewModel var vm = new Vue({ el: '#app', data: { msg: '这是父组件中的消息' }, components: { son: { template: '<
分类: 其他 发布时间: 10-27 21:52 阅读次数: 0

jQuery基础学习之ajax

ajax是jQuery实现后台与前台数据交互,与局部页面无刷新的技术 咱们照样来说下json不过是后台用的 三种较为流行的json 第一种为:FastJson 由阿里巴巴提供 第二种为:Jackson 是一种开源的 第三种为 :Gson 是有Google提供 由于gson大多用于手机端所以就不介绍了详情可以去 https://blog.csdn.net/cgh_baby/article/deta...
分类: 其他 发布时间: 10-27 21:52 阅读次数: 0

权限表设计

所谓权限:指的是系统中的资源,资源包括菜单资源(学习情况报表,账号审核…)以及按钮资源 所谓角色:指的是系统中的权限集合(1) 1.用户表 create table t_user( userid varchar(18) primary key, 用户id username varchar(18), 用户名 userpwd varchar(16), 密码 roleId varchar(18) 角...
分类: 其他 发布时间: 10-27 21:51 阅读次数: 0

layui数据表格的使用

layui是国人开发的一款简单的前端框架,今天给大家带来基础使用 html代码 &amp;lt;table class=&quot;layui-hide&quot; id=&quot;demo&quot; lay-filter=&quot;test&quot;&amp;gt;&amp;lt;/table&amp;gt; &amp;lt;!--需要提供的table表 --&amp;gt; &amp;lt;!-- 工具栏 --&amp;gt; &amp;lt;script type=&quot
分类: 其他 发布时间: 10-27 21:51 阅读次数: 0

android-studio 安装教程

离线搭建Android Studio开发环境 前言: Android Studio开发环境,有两种方式进行安装。 ①:在线安装,需要下载大量的文件,最好电脑进行翻墙,否则下载速度相当的慢。 ②:离线安装,电脑完全没有网络的情况下,需要提前下载好相对应的软件 离线安装操作步骤: ①.首先下载离线搭建Android Studio开发环境的工具,需要工具如下图所示: caches:为安装过程和新建项目过...
分类: 其他 发布时间: 10-27 21:50 阅读次数: 0

安卓 学习基础

安卓工程目录 模块 manifests 仅有一个文件,系统清单文件,相当于web.xml java 放源文件 res(放系统资源文件,一个很重要的的类R,自动生成,resource的缩写) drawable(放图片资源) layout(放布局文件) dp(密度,相当于width中的百分比) sp(密度,相当于width中的的数值xxx.px) Android的基本组件 1.1 Activity...
分类: 其他 发布时间: 10-27 21:50 阅读次数: 0

解决 Configure build 下载慢的问题

在build.gradle 文件加入下面代码即可 buildscript { repositories { maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} google() } } allprojects { repositories { ...
分类: 其他 发布时间: 10-27 21:50 阅读次数: 0

《机器学习实战》学习笔记-第三章-决策树

机器学习实战》学习笔记-第三章-决策树 3.1.1信息增益 熵:表示随机变量的不确定性。 条件熵:在一个条件下,随机变量的不确定性。   信息增益:熵 - 条件熵 也就是说,信息增益是一定条件下信息不确定性减少的程度 信息增益到底怎么理解呢? 3.1.2划分数据集 如何有效的划分数据集:总的原则是按照能够获取最大信息增益的方法来划分数据集。
分类: 其他 发布时间: 10-27 21:49 阅读次数: 0

Click

Click 由于click库网上资料不同的版本不多,基本雷同,本篇主要介绍将官网文档基础和网上版本结合起来,记录click库的中级应用部分 具体代码部分 import click class Bunch(dict): def __getattr__(self, key): if key in self: return self[key...
分类: 其他 发布时间: 10-27 21:49 阅读次数: 0

py-faster-rcnn使用注意点记录

caffe 注意点 1.git clone --recursive https://github.com/rbgirshick/py-faster-rcnn.git和直接网页下载区别,其中caffe-fast-rcnn @ 0dcd397是caffe源码 2 拷贝caffe源码里的Makefile.config.example,修改为Makefile.config,如果使用CPU计算,将CPU_...
分类: 其他 发布时间: 10-27 21:48 阅读次数: 0

PIL文字与图片合成

PIL文字与图片合成 #--coding:utf-8-- from PIL import Image, ImageDraw, ImageFont, ImageFilter import os font = ImageFont.truetype(&quot;./经典宋体简.TTF&quot;, 61) font.getsize(“AB”) scene_text = Image.new(‘RGBA’, (165, 165...
分类: 其他 发布时间: 10-27 21:48 阅读次数: 0

Invitation Cards POJ - 1511 (双向最短路)

n the age of television, not many people attend theater performances. Antique Comedians of Malidinesia are aware of this fact. They want to propagate theater and, most of all, Antique Comedies. They h...
分类: 其他 发布时间: 10-27 21:48 阅读次数: 0

Einbahnstrasse HDU - 2923 (SPFA最短路双向)

Einbahnstra  e (German for a one-way street) is a street on which vehicles should only move in one direction. One reason for having one-way streets is to facilitate a smoother flow of traffic through ...
分类: 其他 发布时间: 10-27 21:47 阅读次数: 0

Idiomatic Phrases Game ZOJ - 2750 (hush + dj/bl)

Tom is playing a game called Idiomatic Phrases Game. An idiom consists of several Chinese characters and has a certain meaning. This game will give Tom two idioms. He should build a list of idioms and...
分类: 其他 发布时间: 10-27 21:47 阅读次数: 0

Max Sum Plus Plus HDU - 1024(DP+m字段最大和)

Now I think you have got an AC in Ignatius.L's &quot;Max Sum&quot; problem. To be a brave ACMer, we always challenge ourselves to more difficult problems. Now you are faced with a more difficult problem.  Given...
分类: 其他 发布时间: 10-27 21:47 阅读次数: 0

Max Sum of Max-K-sub-sequence HDU - 3415(单调)

Given a circle sequence A[1],A[2],A[3]......A[n]. Circle sequence means the left neighbour of A[1] is A[n] , and the right neighbour of A[n] is A[1].  Now your job is to calculate the max sum of a Max...
分类: 其他 发布时间: 10-27 21:47 阅读次数: 0

敌兵布阵 HDU - 1166 (求和线段树模板)

C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的人数都有可能发生变动,可能增加或减少若干人手,但这些都逃不过C国的监视。  中央情报局要研究敌人究竟演习什么战术,所...
分类: 其他 发布时间: 10-27 21:46 阅读次数: 0

Just a Hook HDU - 1698 (线段树区间修改查询)

In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic sticks which are of the same length.  Now Pud...
分类: 其他 发布时间: 10-27 21:46 阅读次数: 0

A Simple Problem with Integers POJ - 3468 (线段树区间修改求和*)

You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a given interval. The other is to ask for the ...
分类: 其他 发布时间: 10-27 21:46 阅读次数: 0