August 2017
Intermediate to advanced
142 pages
3h
English
© Jorge Acetozi 2017
Jorge Acetozi, Pro Java Clustering and Scalability, https://doi.org/10.1007/978-1-4842-2985-9_26
Jorge Acetozi1
(1)São Paulo / SP, Brazil
Remember from Chapter 23 that different types of tests have different feedback levels (and hence different performances)? Let’s verify this in practice now.
Open a terminal window, go to the ebook-chat directory, and issue the following command:
$ mvn testThis will execute the class UnitTestsSuite.java, that is, all the unit tests. Note how fast it is to execute these unit tests.
Now issue the following command:
$ mvn verifyThis will execute both UnitTestsSuite.java and IntegrationTestsSuite.java. Note how integration tests take ...
Read now
Unlock full access