- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 168字
- 2021-06-24 18:31:42
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "In this test, we are defining that RuntimeException is expected when the ticTacToe.play(5, 2) method is invoked."
A block of code is set as follows:
public class FooTest { @Rule public ExpectedException exception = ExpectedException.none();
@Test public void whenDoFooThenThrowRuntimeException() { Foo foo = new Foo(); exception.expect(RuntimeException.class); foo.doFoo(); } }
Any command-line input or output is written as follows:
$ gradle test
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "IntelliJ IDEA provides a very good Gradle tasks model that can be reached by clicking on View|Tool Windows|Gradle."
Warnings or important notes appear like this.
Tips and tricks appear like this.
推薦閱讀
- GraphQL學(xué)習(xí)指南
- Python爬蟲開發(fā)與項目實戰(zhàn)
- C語言程序設(shè)計
- Learning AWS Lumberyard Game Development
- 網(wǎng)頁設(shè)計與制作教程(HTML+CSS+JavaScript)(第2版)
- Mastering Scientific Computing with R
- 快人一步:系統(tǒng)性能提高之道
- 深入淺出React和Redux
- C#程序設(shè)計教程(第3版)
- PHP編程基礎(chǔ)與實踐教程
- Android應(yīng)用開發(fā)深入學(xué)習(xí)實錄
- 單片機原理及應(yīng)用技術(shù)
- Photoshop智能手機APP界面設(shè)計
- R的極客理想:量化投資篇
- Redmine Cookbook