Conventions used
There are a number of text conventions used throughout this book.
Code in text
: 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: “Note that the following files can be located within the Benchmark
folder in our GitHub’s repo.”
A block of code is set as follows:
package chapter2; public class Calculator { public int add(int number1, int number2) { return number1 + number2; } }
Any command-line input or output is written as follows:
java -cp (path to the lib folder where testng is)\lib\*;(path to the bin folder)\bin org.testng.TestNG testngByGroup.xml
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “We need a system to keep all the code versions together. The place where code is kept is called a code repository.”
Tips or Important Notes
Appear like this.