jenkins the definitive guide
To make your build more portable, and therefore easier to deploy into Jenkins, it is a good idea to place the Cobertura distribu ...
<target name="test-coverage" depends="instrument"> <junit fork="yes" dir="/Users/johnsmart/Projects/Books/jenkins-the-d ...
the Plugin Manager screen. If Cobertura has not been installed, you will find the Cobertura Plugin in the Available tab, in the ...
Report” checkbox, you should see something like Figure 6.13, “Configuring the test coverage metrics in Jenkins”. Figure 6.13. Co ...
Jenkins lets you define which of these metrics you want to track. By default, the Cobertura plugin will record Conditional, Line ...
Figure 6.15. Configuring the test coverage metrics in Jenkins Jenkins also does a great job letting you drill down into the cove ...
the number of times a given line was executed. Finally, yellow shading in the margin is used to indicate insufficient conditiona ...
Figure 6.17. Configuring Clover reporting in Jenkins Once you have done this, Jenkins will display the current level of code cov ...
Acceptance Tests can be automated using conventional tools such as JUnit, but there is a growing tendency to use Behavior-Driven ...
Figure 6.20. Installing the HTML Publisher plugin This plugin is easy to configure. Just go to the “Post-build Actions” section ...
The HTML Publisher plugin works perfectly for HTML reports. If, on the other hand, you want to (also) publish non-HTML documents ...
your application, as well as random pauses, conditions and loops, and other variations designed to better imitate real user acti ...
Figure 6.24. Preparing a performance test script in JMeter Note that we are also using the optional tag to provide JMeter with ...
<scanIntervalSeconds>10</scanIntervalSeconds> <connectors> <connector implementation="org.eclipse.jetty.ser ...
<execution> <id>run-jmeter</id> <phase>integration-test</phase> <goals> <goal>run</ ...
build to run every night at midnight”, we have set up the performance build to run on a nightly basis, which is probably enough ...
your application has contractual obligations in this regard. One way to do this in JMeter is by adding a Duration Assertion elem ...
This graph gives you an overview of performance over time. You would typically use this graph to ensure that your average respon ...
Figure 6.30. You can also view performance results per request 6.9. Help! My Tests Are Too Slow! One of the underlying principle ...
(EC2) or CloudBees to increase your build capacity on an “as-needed” basis, without having to invest in permanent new machines. ...
«
5
6
7
8
9
10
11
12
13
14
»
Free download pdf