```go func Test_chanel(t testing.T) { c := make(chan int, 1) go func() { time.Sleep(time.Second 3) close(c) }() for { select { case i := ...
分类:
其他好文 时间:
2019-07-18 21:11:29
阅读次数:
134
一、性能测试基础 1、什么是性能测试? (1)测试软件的性能表现,考量软件运行的如何。(2)一般关注时间/效率、资源占用等情况。 既要马儿快点跑,又要马儿少吃草 2、什么时候进行性能测试? (1)已通过系统测试,功能比较稳定。 3、谁关注性能? (1)用户 用户体会到的性能是软件对用户操作的响应时间 ...
分类:
其他好文 时间:
2019-07-16 18:20:34
阅读次数:
114
Tired of doing the same job? Get your hands on ASTQB exam It is the nature of the human being that he/she will get tired of doing the same task over a ...
分类:
其他好文 时间:
2019-07-16 16:45:41
阅读次数:
100
一:单元测试 1.为什么要做单元测试和性能测试 减少bug 快速定位bug 减少调试时间 提高代码质量 2.golang的单元测试 单元测试代码的go文件必须以_test.go结尾 单元测试的函数名必须以Test开头,是可导出公开的函数 测试函数的签名必须接收一个指向testing.T类型的指针,并 ...
分类:
其他好文 时间:
2019-07-13 09:29:04
阅读次数:
115
官方文档:https://docs.spring.io/spring boot/docs/current/reference/html/boot features testing.html ...
分类:
编程语言 时间:
2019-07-10 12:27:42
阅读次数:
137
性能测试划分有很多种,测试方法也有很多总,更确切的说是由于测试方法的不同决定了测试划分的情况,但在测试过程中性能测试的划分没有绝对的界限,常用的有负载测试、压力测试和并发用户测试等。 性能测试的方法主要包括以下几种: 负载测试(load Testing) 压力测试(Stress Testing) 配 ...
分类:
其他好文 时间:
2019-07-08 00:37:53
阅读次数:
152
管理的灰度 A/B测试终极指南 Multivariate Testing 灰度测试 知识的诅咒 “知识的诅咒”的说法来自《粘住》中实验,具体可以自己搜索一下。我们自己对于自己开发的产品极为熟悉,于是乎想当然认为用户也应当能够理解产品的设计思路、产品的功能使用。 1)问题特征: a结果没有量化手段; ...
分类:
其他好文 时间:
2019-07-02 19:38:19
阅读次数:
136
CTest和Gtest 参考 CMake/Testing With CTest cmake结合CTest的例子 前言 在VSCode中配合CMakeTools工具使用这个测试框架,还比较方便 学习过程 CDash环境搭建(没完成) sudo apt install mysql-server mysq... ...
分类:
其他好文 时间:
2019-07-01 22:58:15
阅读次数:
181
这篇文章的全局观和思路一级棒! The Fairy Tale Cast your mind back to 2010 when users started to demand interactive web applications. Back then the only real solution ...
分类:
其他好文 时间:
2019-06-25 19:49:00
阅读次数:
152
[root@localhost ~]# mount /dev/cdrom /mnt mount: /dev/sr0 is write-protected, mounting read-only [root@localhost ~]# ls /mnt CentOS_BuildTag GPL LiveO ...
分类:
其他好文 时间:
2019-06-25 09:22:54
阅读次数:
112