Manning. JUnit in Action 文摘-2
来源:互联网 发布:招聘网络推广专员 编辑:程序博客网 时间:2024/05/22 02:22
chapter 3:
Testing for exceptions:
1 Insert a statement that should throw an exception.
2 Follow it with a fail statement (in case the exception isn’t thrown).
3 Catch the exception you expect, naming the exception "expected" so the reader can easily guess that the exception is expected!
4 Proceed normally
Testing for exceptions:
1 Insert a statement that should throw an exception.
2 Follow it with a fail statement (in case the exception isn’t thrown).
3 Catch the exception you expect, naming the exception "expected" so the reader can easily guess that the exception is expected!
4 Proceed normally
- Manning. JUnit in Action 文摘-2
- Manning. JUnit in Action 文摘-1
- 读 Manning: Ajax in Action (Ajax实战)
- 【notes 1】manning windows powershell in action
- Elixir in Action-Manning 2015(读书笔记)
- Go in Action - Manning 2016(读书笔记)
- 《Spring Microservices in Action》(Manning 2016)中文版
- 《Spring Microservices in Action》(Manning 2016)中文版目录
- 《Spring Microservices in Action》(Manning 2016)中文版下载地址
- JUnit in Action Note Taking (2nd)
- JUnit In Action 笔记
- 《JUnit in action》
- JUnit in Action
- junit in action读书笔记
- JUnit in Action 2nd Edition 第一章 JUnit 概述 (1)
- 《junit in action》:学习junit的好书!
- Junit in Action 读书笔记序
- Junit in Action 笔记 第一章
- 购买数码相机前最需要知道的参数
- Windows下NTFS无损转换FAT32格式
- JSP Tag
- Visual C#程序设计技巧小结
- 关于2表删除的问题
- Manning. JUnit in Action 文摘-2
- 一个页面中提取iframe框架页面的值
- 网站内容
- AJAX的跨域名访问
- 页面的生存周期
- 一个简单的UBBtoHTML函数
- 数据结构(C#)_排序算法(归并排序)
- word 版本问题一则
- ORACLE的基本语法集锦----简单却是最基本的