Permalink
Browse files

WIP

  • Loading branch information...
2 parents 6aa3bc0 + 9b4dc1d commit b07b5f50e0050056a6819d0dd6e677751ecb91ea @wakaleo wakaleo committed Nov 28, 2012
Showing with 3,143 additions and 830 deletions.
  1. +9 −0 build-all.sh
  2. +3 −10 maven-thucydides-plugin/pom.xml
  3. +1 −1 pom.xml
  4. +41 −0 thucydides-core/demo/progress.html
  5. +2 −0 thucydides-core/demo/scripts/dygraph-combined.js
  6. +924 −0 thucydides-core/demo/scripts/excanvas.js
  7. +2 −2 thucydides-core/pom.xml
  8. +22 −2 thucydides-core/src/main/java/net/thucydides/core/ThucydidesSystemProperty.java
  9. +361 −0 thucydides-core/src/main/java/net/thucydides/core/ThucydidesSystemProperty.java.orig
  10. +15 −0 thucydides-core/src/main/java/net/thucydides/core/annotations/Screenshots.java
  11. +1 −3 thucydides-core/src/main/java/net/thucydides/core/annotations/TestAnnotations.java
  12. +1 −3 thucydides-core/src/main/java/net/thucydides/core/bootstrap/ThucydidesAgent.java
  13. +32 −5 thucydides-core/src/main/java/net/thucydides/core/bootstrap/ThucydidesContext.java
  14. +1 −1 thucydides-core/src/main/java/net/thucydides/core/csv/InstanceBuilder.java
  15. +1 −1 thucydides-core/src/main/java/net/thucydides/core/csv/converters/BigDecimalTypeConverter.java
  16. +9 −0 thucydides-core/src/main/java/net/thucydides/core/digest/Digest.java
  17. +6 −5 thucydides-core/src/main/java/net/thucydides/core/model/ReportNamer.java
  18. +2 −2 thucydides-core/src/main/java/net/thucydides/core/model/Screenshot.java
  19. +104 −0 thucydides-core/src/main/java/net/thucydides/core/model/ScreenshotPermission.java
  20. +8 −0 thucydides-core/src/main/java/net/thucydides/core/model/TakeScreenshots.java
  21. +13 −8 thucydides-core/src/main/java/net/thucydides/core/pages/HtmlTag.java
  22. +23 −10 thucydides-core/src/main/java/net/thucydides/core/pages/PageObject.java
  23. +11 −5 thucydides-core/src/main/java/net/thucydides/core/pages/RenderedPageObjectView.java
  24. +1 −4 thucydides-core/src/main/java/net/thucydides/core/pages/WebElementFacade.java
  25. +1 −1 thucydides-core/src/main/java/net/thucydides/core/reports/TestOutcomes.java
  26. +0 −1 thucydides-core/src/main/java/net/thucydides/core/reports/html/HtmlAcceptanceTestReporter.java
  27. +1 −1 ...ydides-core/src/main/java/net/thucydides/core/requirements/FileSystemRequirementsTagProvider.java
  28. +1 −1 thucydides-core/src/main/java/net/thucydides/core/requirements/model/NarrativeReader.java
  29. +2 −22 thucydides-core/src/main/java/net/thucydides/core/screenshots/Photographer.java
  30. +0 −6 thucydides-core/src/main/java/net/thucydides/core/screenshots/SingleThreadScreenshotProcessor.java
  31. +4 −4 thucydides-core/src/main/java/net/thucydides/core/steps/BaseStepListener.java
  32. +695 −0 thucydides-core/src/main/java/net/thucydides/core/steps/BaseStepListener.java.orig
  33. +14 −8 thucydides-core/src/main/java/net/thucydides/core/steps/StepInterceptor.java
  34. +126 −21 thucydides-core/src/main/java/net/thucydides/core/util/ExtendedTemporaryFolder.java
  35. +1 −1 thucydides-core/src/main/java/net/thucydides/core/util/SystemEnvironmentVariables.java
  36. +11 −0 thucydides-core/src/main/java/net/thucydides/core/webdriver/Configuration.java
  37. +9 −2 thucydides-core/src/main/java/net/thucydides/core/webdriver/DisplayedElementLocator.java
  38. +13 −1 thucydides-core/src/main/java/net/thucydides/core/webdriver/SystemPropertiesConfiguration.java
  39. +1 −1 thucydides-core/src/main/java/net/thucydides/core/webdriver/ThucydidesWebDriverSupport.java
  40. +2 −2 thucydides-core/src/main/java/net/thucydides/core/webdriver/ThucydidesWebdriverManager.java
  41. +2 −1 thucydides-core/src/main/java/net/thucydides/core/webdriver/WebDriverFactory.java
  42. +1 −1 thucydides-core/src/main/java/net/thucydides/core/webdriver/WebdriverInstances.java
  43. +6 −1 thucydides-core/src/main/java/net/thucydides/core/webdriver/firefox/FirefoxProfileEnhancer.java
  44. +4 −17 thucydides-core/src/main/java/net/thucydides/core/webdriver/stubs/OptionsStub.java
  45. +168 −0 ...ydides-core/src/test/groovy/net/thucydides/core/model/WhenDecidingWhetherToTakeScreenshots.groovy
  46. +0 −105 ...src/test/groovy/net/thucydides/core/reports/integration/WhenGeneratingAggregateHtmlReports.groovy
  47. +1 −1 thucydides-core/src/test/java/net/thucydides/core/csv/WhenLoadingTestDataFromACSVFile.java
  48. +1 −2 thucydides-core/src/test/java/net/thucydides/core/images/WhenResizingAScreenshot.java
  49. +0 −10 thucydides-core/src/test/java/net/thucydides/core/model/WhenFormattingScreenshotDetailsForHtml.java
  50. +2 −2 thucydides-core/src/test/java/net/thucydides/core/model/WhenRecordingNewTestOutcomes.java
  51. +1 −2 thucydides-core/src/test/java/net/thucydides/core/model/WhenWeCreateATestStep.java
  52. +1 −2 thucydides-core/src/test/java/net/thucydides/core/output/WhenRecordingTestOutputInASpreadsheet.java
  53. +4 −16 thucydides-core/src/test/java/net/thucydides/core/pages/WhenManagingAPageObject.java
  54. +16 −6 thucydides-core/src/test/java/net/thucydides/core/pages/WhenNamingHtmlTags.java
  55. +49 −0 ...rc/test/java/net/thucydides/core/pages/integration/WaitingForElementsWithTheFluentElementAPI.java
  56. +1 −1 .../net/thucydides/core/pages/integration/{WhenResizingTheBrower.java → WhenResizingTheBrowser.java}
  57. +12 −11 thucydides-core/src/test/java/net/thucydides/core/reports/WhenNamingTheReports.java
  58. +1 −2 ...rc/test/java/net/thucydides/core/reports/history/integration/WhenTrackingTestResultsOverTime.java
  59. +1 −4 ...-core/src/test/java/net/thucydides/core/reports/html/screenshots/WhenReformattingScreenshots.java
  60. +1 −2 ...ides-core/src/test/java/net/thucydides/core/reports/integration/AbstractReportGenerationTest.java
  61. +20 −25 ...src/test/java/net/thucydides/core/reports/integration/WhenGeneratingAnAggregateHtmlReportSet.java
  62. +16 −16 ...ydides-core/src/test/java/net/thucydides/core/reports/integration/WhenGeneratingAnHtmlReport.java
  63. +4 −3 thucydides-core/src/test/java/net/thucydides/core/reports/integration/WhenGeneratingAnXMLReport.java
  64. +6 −5 ...s-core/src/test/java/net/thucydides/core/reports/integration/WhenIncludingJIRALinksInReports.java
  65. +1 −2 thucydides-core/src/test/java/net/thucydides/core/reports/integration/WhenReadingAnXMLReport.java
  66. +1 −1 ...ydides-core/src/test/java/net/thucydides/core/resources/WhenReadingResourcesFromTheClasspath.java
  67. +2 −3 thucydides-core/src/test/java/net/thucydides/core/screenshots/WhenScreenshotsAreTaken.java
  68. +1 −1 ...dides-core/src/test/java/net/thucydides/core/statistics/WhenConfiguringTheStatisticsDatabase.java
  69. +14 −48 thucydides-core/src/test/java/net/thucydides/core/steps/WhenRecordingStepExecutionResults.java
  70. +3 −5 ...core/src/test/java/net/thucydides/core/steps/WhenRecordingStepExecutionResultsForNonWebTests.java
  71. +1 −1 thucydides-core/src/test/java/net/thucydides/core/steps/WhenRunningStepsThroughAScenarioProxy.java
  72. +1 −1 thucydides-core/src/test/java/net/thucydides/core/steps/WhenUsingTheStepEventBus.java
  73. +2 −4 thucydides-core/src/test/java/net/thucydides/core/util/ExtendedTemporaryFolderTest.java
  74. +1 −1 thucydides-core/src/test/java/net/thucydides/core/util/WhenChangingFileSeparator.java
  75. +1 −3 ...s-core/src/test/java/net/thucydides/core/util/WhenLoadingPreferencesFromALocalPropertiesFile.java
  76. +10 −0 thucydides-core/src/test/java/net/thucydides/core/webdriver/WhenLocatingWebElements.java
  77. +0 −4 ...a/net/thucydides/core/webdriver/integration/WhenCheckingVisibilityOnAWebSiteUsingPageObjects.java
  78. +1 −5 ...ides-core/src/test/java/net/thucydides/core/webdriver/integration/WhenTakingLargeScreenshots.java
  79. +1 −0 thucydides-core/src/test/resources/static-site/index.html
  80. +1 −1 thucydides-easyb-integration-tests/pom.xml
  81. +9 −0 thucydides-easyb-integration-tests/release.properties
  82. +1 −6 thucydides-easyb-plugin/pom.xml
  83. +2 −2 thucydides-extensions/pom.xml
  84. +0 −1 thucydides-extensions/src/main/java/net/thucydides/junit/pipeline/TestPipeline.java
  85. +18 −0 thucydides-gradle-plugin/build.gradle
  86. +1 −1 thucydides-junit/pom.xml
  87. +18 −18 thucydides-junit/src/main/java/net/thucydides/junit/listeners/TestCountListener.java
  88. +1 −1 thucydides-junit/src/main/java/net/thucydides/junit/runners/ThucydidesParameterizedRunner.java
  89. +195 −298 thucydides-junit/src/test/groovy/net/thucydides/junit/runners/WhenRunningTestScenarios.groovy
  90. +2 −22 thucydides-junit/src/test/java/net/thucydides/junit/runners/WhenLoggingTestScenarioResults.java
  91. +9 −13 thucydides-junit/src/test/java/net/thucydides/junit/runners/WhenRunningADataDrivenTestScenario.java
  92. +7 −7 thucydides-junit/src/test/java/net/thucydides/junit/runners/WhenRunningANonWebTestScenario.java
  93. +3 −2 thucydides-junit/src/test/java/net/thucydides/junit/util/FileFormating.java
  94. +6 −1 ...ides-junit/src/test/java/net/thucydides/samples/SamplePassingScenarioUsingHtmlUnitForOneTest.java
  95. +1 −1 thucydides-maven-integration-tests/pom.xml
  96. +1 −1 thucydides-report-resources/pom.xml
  97. +1 −1 thucydides-sample-alternative-resources/pom.xml
  98. +24 −0 thucydides-spock/pom.xml
  99. +1 −4 thucydides-spock/src/main/java/net/thucydides/spock/ThucydidesEnabledExtension.java
  100. +1 −0 thucydides-spock/src/test/resources/log4j.properties
  101. +7 −0 thucydides-spock/src/test/resources/logback.groovy
  102. +2 −2 thucydides-test-utils/pom.xml
View
@@ -0,0 +1,9 @@
+#############################################
+### Launch a virtual framebuffer X server ###
+#############################################
+export DISPLAY=":98"
+Xvfb $DISPLAY >& Xvfb.log &
+trap "kill $! || true" EXIT
+sleep 10
+
+mvn clean install
@@ -4,12 +4,12 @@
<parent>
<artifactId>thucydides</artifactId>
<groupId>net.thucydides</groupId>
- <version>0.9-SNAPSHOT</version>
+ <version>0.9.76-SNAPSHOT</version>
</parent>
<groupId>net.thucydides.maven.plugins</groupId>
<artifactId>maven-thucydides-plugin</artifactId>
<packaging>maven-plugin</packaging>
- <version>0.9-SNAPSHOT</version>
+ <version>0.9.76-SNAPSHOT</version>
<name>Thucydides Maven Plugin</name>
<dependencies>
<dependency>
@@ -23,18 +23,11 @@
<artifactId>maven-reporting-api</artifactId>
<version>2.2.1</version>
</dependency>
-
<dependency>
<groupId>org.apache.maven.reporting</groupId>
<artifactId>maven-reporting-impl</artifactId>
<version>2.2</version>
</dependency>
-
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-utils</artifactId>
- <version>2.1</version>
- </dependency>
<dependency>
<groupId>net.thucydides</groupId>
<artifactId>thucydides-core</artifactId>
@@ -44,7 +37,7 @@
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-verifier</artifactId>
- <version>1.2</version>
+ <version>1.3</version>
</dependency>
</dependencies>
</project>
View
@@ -9,7 +9,7 @@
</parent>
<groupId>net.thucydides</groupId>
<artifactId>thucydides</artifactId>
- <version>0.9-SNAPSHOT</version>
+ <version>0.9.76-SNAPSHOT</version>
<packaging>pom</packaging>
<name>thucydides</name>
<description>An Acceptance Testing framework for web applications
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
+ <!--[if IE]><script src="scripts/excanvas.js"></script><![endif]-->
+ <script type="text/javascript" src="scripts/dygraph-combined.js"></script>
+</head>
+<body>
+<div id="graphdiv"></div>
+<script type="text/javascript">
+ g = new Dygraph(
+ document.getElementById("graphdiv"),
+ "Build,Requirements,Passed,Failed,Estimated,Total\n" +
+ // the data series
+ "2008-05-07,80,0, 0,10,80\n" +
+ "2008-05-08,85,10,0,10,85\n" +
+ "2008-05-09,87,20,2,20,87\n"+
+ "2008-05-10,87,20,2,20,87\n"+
+ "2008-05-12,87,24,1,24,87\n"+
+ "2008-05-15,89,28,0,28,89\n"+
+ "2008-05-16,90,28,0,28,90\n"+
+ "2008-05-16,0,0,0, 28,90\n"+
+ "2008-06-12,0,0,0, 94,94\n",
+ { fillGraph: true,
+ width: 640,
+ height: 480,
+ title: 'Project Progress',
+ titleHeight: 32,
+ colors: ['#ffda4b', 'green', '#EE1111','#bccb8e', '#00aeff'],
+ legend: 'always',
+ 'Estimated': {
+ fillGraph: false
+ },
+ 'Total': {
+ fillGraph: false
+ }
+ }
+ );
+</script>
+</body>
+</html>
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit b07b5f5

Please sign in to comment.