-
Download jQuery.tagcloud.js from https://github.com/addywaddy/jquery.tagcloud.js/
-
Place downloaded js file into FitNesseRoot/files/javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this script to the PageHeader | |
# to get an example - uncomment table below. | |
#|Some Fixture | | |
#|ignore|This is comment click on it to show hidden line| | |
#|some method|This line will be hidden | | |
#|ignore|This is second not hidden line | | |
#|some method|This is hidden unless you click ... | | |
#|some method|... on the second not hidden line | | |
# | |
#!-<script src="/files/javascript/jquery-1.3.2.min.js"></script>-! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"> | |
<html> | |
<head> | |
<title>${project.name}</title> | |
<style> | |
body table, td, th, p, h1, h2 { | |
margin:0; | |
font:normal normal | |
100% Georgia, Serif; | |
background-color: #ffffff; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"> | |
<html> | |
<head> | |
<title>${project.name}</title> | |
<style> | |
body table, td, th, p, h1, h2 { | |
margin:0; | |
font:normal normal | |
100% Georgia, Serif; | |
background-color: #ffffff; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:template match="/"> | |
<xsl:element name="testsuite"> | |
<xsl:attribute name="tests"> | |
<xsl:value-of select="sum(testResults/finalCounts/*)" /> | |
</xsl:attribute> | |
<xsl:attribute name="failures"> | |
<xsl:value-of select="testResults/finalCounts/wrong" /> | |
</xsl:attribute> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// If list of causes is not empty, then cancel email | |
// Will NOT sent email notification by Jenkins email-ext plugin when job was executed by another upstream job. | |
// The idea is to avoid multiple notifications from both upstream and downstream jobs. | |
try { | |
if (build.getCauses.size()>0) { | |
cancel = true | |
} | |
} catch(e) { | |
cancel = true | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def dir = new File('c:\\tools\\FitNesse\\FitNesseRoot\\AcceptanceTests') | |
def result = [] | |
dir.eachFile { | |
if ((it.isDirectory())&&!(it.name.contains("SetUp"))) { | |
result << it.name | |
} | |
} | |
return result |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
<xsl:output method="html" indent="no" encoding="UTF-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" | |
doctype-system="http://www.w3.org/TR/html4/loose.dtd"/> | |
<xsl:strip-space elements="*"/> | |
<xsl:template match="/testResults"> | |
<html lang="en"> | |
<head> | |
<meta name="Author" content="shanhe.me"/> | |
<title>JMeter Test Results</title> |
Add log level to desired capabilities:
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
LoggingPreferences loggingprefs = new LoggingPreferences();
loggingprefs.enable(LogType.BROWSER, Level.SEVERE);
capabilities.setCapability(CapabilityType.LOGGING_PREFS, loggingprefs);
Create new instance of the webdriver using the capabilities above