In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning. Code words in text, database table names, folder names, filenames, file extensions, path names, dummy URLs, user input, and Twitter handles are shown as follows: “The @AfterAll and @BeforeAll methods are executed only once”.
A block of code is set as follows:
package io.github.bonigarcia;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
class StandardTest {
@Test
void verySimpleTest () {
assertTrue(true);
}
}
Any command-line input or output is written as follows:
mvn test
New terms and important words are shown in bold like this: “Compatibility is the degree to which a product, system or component can exchange information with other products”.
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.