- 授权协议: Apache
- 开发语言: HTML/CSS
- 操作系统: 跨平台
- 软件首页: http://pragmatists.github.io/JUnitParams/
- 软件文档: https://github.com/Pragmatists/JUnitParams/wiki/Quickstart
软件介绍
JUnitParams 为 JUnit >=4.6 增加了一个更容易使用的可读性更好的参数测试方式
Example
@RunWith(JUnitParamsRunner.class)
public class PersonTest {
@Test
@Parameters({"17, false",
"22, true" })
public void personIsAdult(int age, boolean valid) throws Exception {
assertThat(new Person(age).isAdult(), is(valid));
}
}See more examples 。
JavaScript
Douglas Crockford / Yahoo Press / 2008-5 / GBP 23.99
Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. This authoritative b......一起来看看 《JavaScript》 这本书的介绍吧!
