Skip to content

2.11.2

Compare
Choose a tag to compare
@fhoeben fhoeben released this 26 Feb 21:25
· 1735 commits to master since this release

Release 2.11.2 of the project contains the latest FitNesse (20161106) and Selenium 2.53.1 releases.

Please note: starting with version 20160515 FitNesse requires Java 7, that means this project will no longer work with Java 6.

To get started by running some sample tests (if you have a Java runtime installed): just download the standalone.zip, extract it and run it (using 'java -jar fitnesse-standalone.jar -p 9090', or on Windows just double clicking the jar to run the application on port 80 instead of 9090) from the directory where the 'standalone.zip' was extracted and open a browser to http://localhost:9090/HsacExamples.

Please note: please extract the zip to a location without spaces in its own name or in the names of its parents.

A clone or download of the sources and running with Maven and Java Development Kit is the way to go if you want to develop/debug fixtures.

To incorporate the fixtures in an existing FitNesse project you can also get it from Maven Central

        <dependency>
            <groupId>nl.hsac</groupId>
            <artifactId>hsac-fitnesse-fixtures</artifactId>
            <version>2.11.2</version>
        </dependency>

An example of Maven based project using this baseline can be found at: https://github.com/fhoeben/sample-fitnesse-project.

New in 2.11.2:

  • BrowserTest
    • Added tooltip for <place> to check title of an element, #114 and #115.
    • Added target of link <link> to check target of a line, #111.
    • Added normalized value of <input> to collapse whitespace in values found.
    • Added number of times <text> is visible (on page) to count how often a text occurs on a page, #112 and #117.

New in 2.11.1:

  • Added ExecuteProgramTest fixture to run an executable from a test.
  • Fixed bug in BrowserTest's 'is enabled', when the 'place' referred to a label element 'is enabled' did not check whether the target of the label was enabled but only whether the label was enabled.
  • Added example page for Ng2BrowserTest (HsacExamples.SlimTests.BrowserTests.Angular2CalculatorTest).
  • Reduced code duplication between NgBrowserTest and Ng2BrowserTest.

New in 2.11.0:

  • Fix a bug in BrowserTest causing wait for visibleand is visible sometimes to be unable to find a text clearly present on a page (if the containing element had both nested elements and multiple text elements)
  • Added support to filter suites run by build server based on tags (#108)
  • Added (beta) support for AngularJs 2, by using Ng2BrowserTest (#109)
  • HsacExample and HsacAcceptanceTests pages are now all in .wiki format
  • Added documentation on how to create a Maven project using this project's baseline using either a Maven archetype of sample project available on GitHub.
  • Added .gitattributes file to ...-standalone.zip to protect pages in .wiki format when they are edited on Windows (to prevent the line endings to be changed).
  • Upgraded minor versions of some libraries used.

New in 2.10.2:

  • Added fixture that can read and then remove first line of text file (to store non-reusable test data), #106.
  • Ensure XmlHttpTest and JsonHttpTest can show request URLs properly (i.e. don't try to format them as XML or JSON)
  • Prevent issue for users working on Windows with Git when using FitNesse's new page format (.wiki), by ensuring these files do not get Windows line endings (workaround for unclebob/fitnesse#999)
  • Maven project now also removes pagesources and downloads files (and not just screenshots) created by BrowserTest on clean

New in 2.10.1:

  • MockXmlServerSetup allows response headers to be configured, fixing #62.
  • NgBrowserTest allows subclasses to define method that do not require waiting for Angular using @NoNgWait, #102 .
  • Workaround for unclebob/fitnesse#989 in sample wiki content

New in 2.10.0:

  • Upgraded FitNesse to 20161106. Sometimes the wiki-pages will not show after upgrading an existing installation. This can be addressed by removing the directory wiki/FitNesseRoot/files/pagesources (or renaming all .html files to give them a different extension). This is also the reason page sources are now saved using a .HTML extension (instead of .html).
  • HttpTest (and JsonHttpTest and XmlHttpTest) improved support for testing asynchronous services, #98.
  • BrowserTest: page source saved on exception, or by save page source, now also saves the content of any (i)frames contained in the top-level page, #96.
  • All http status codes 4xx and 5xx are handled the same way. Previously some were handled as 'invalid responses' and others were not. Now they all are considered 'invalid'. This means that for instance rows in a script using HttpTest, XmlHttpTest or JsonHttpTest that perform a 'get' or 'post' which returns a status code between 400 and 599 should start with a reject cell to indicate an 'error response' is expected.
  • HttpTest now uses Apache HttpClient version 4.5.2, #92.
  • Selenium chromedriver updated to 2.25