Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Stephen Starkey
    @coreagile
    Got past that by upgrading Velocity in my project. Now we can't find any static files (CSS, JS, etc).
    And now I'm reading that "versions >= 15 are not supported" -- darn! :-(
    Can anyone tell me what they think it would take to get Java 17 working?
    Fried Hoeben
    @fhoeben
    Newer Java versions no longer bundle support for running Javascript inside the JVM. FitNesse uses that feature so that's the problem. To address it a JavaScript engine needs to be added to the classpath (and configured to be used by default). One such engine is the GraalVM, see a blog post on migrating here: https://golb.hplar.ch/2020/04/java-javascript-engine.html That's it from a high level. I expect there will be issues to fix, but should be doable. A reason why I haven't looked at it in detail is that the extra jars needed for this GraalVM are quite large, so the size of fitnesse-standalone.zip would increase a lot (furthermore docker containers having Java 11+ tend to be MUCH larger than one for Java 8) and I still haven't seen any clear benefit of making the step yet (other providers than Oracle are still rolling out new patch versions of Java 8)
    Stephen Starkey
    @coreagile
    Ah ok thanks.
    Ashwin
    @githmashwinkumar
    I have set up DBFit on my machine. However, the FrontPage as well as the Hello World page is not editable. This is my personal laptop. Got to know from the User Guide that this is because the page is set as non-editable. I can see that Edit check box is checked in its Properties. Still, I do not see the Edit option. Also, I created Test Suite and Test Pages. None of them are visible. I have to search for accessing them. I am using Fitnesse for Visual Studio Test Case creation. That behaves just fine. I see all the pages I create and it lets me edit too. Don't know what is wrong with DBFit set up. Please suggest me a way-forward for addressing this.
    1 reply
    Mike Scott
    @ceilidhboy

    I'm working on a new implementation of Slim for PHP and have come across an apparent ambiguity in the Slim protocol. As the Slim Protocol page states:

    A list is encoded as a string that begins with a '[', followed by a <length> specifying the number of items in the list. This is followed by that many strings, each terminated by a colon, and then finally a ']' Thus, this list: [hello,world] is encoded as the following string:

    000035:[000002:000005:hello:000005:world:]

    The issue is, how does one differentiate between the list [hello, world] and the string [000002:000005:hello:000005:world:]? Both are encoded identically in the protocol as 000035:[000002:000005:hello:000005:world:] because a list is a string. But they're not the same. If I literally want the string "[000002:000005:hello:000005:world:]", the deserializer converts it into a list of two items.

    This seems to me to be a particularly insidious form of the escaping problem, whereby any input with a special meaning needs to "escaped", such as when you really want '\n' in a string and not a newline, the backslash has to be escaped.

    Or have I missed something obvious?? :)

    Any input would be appreciated. I'm particularly curious on Unble Bob's take on this quirk in the Slim protocol. Thanks!

    4 replies
    Jeroen ten Kate
    @jeroen.tenkate:matrix.org
    [m]

    Hi, recently I started experiencing this error frequently when starting a test manually: "Could not complete testing: fitnesse.slim.SlimError: Error connecting to SLiM server on localhost:52165". When I restart the test directly, the test is executed. Is there something I can change (timeout?) to prevent this?

    My FitNesse server is started from IntelliJ and there are a lot of JARs loaded when I look at the execution log.

    1 reply
    Ashwin
    @githmashwinkumar
    Friends, I had created Few Test Pages and Suites a weeks' back. Got busy with few things and so I didn't access it. Today when I launched the Standalone.jar none of my pages are visible. Can someone please let me know what might have happened. Searching for these pages didn't yield any results either.
    12 replies
    Ashwin
    @githmashwinkumar
    For addressing my issue I updated Nuget package and rebuilt the RunnerW solution. Now I am getting "Could not complete testing: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release". Please suggest if any among you have any information in handling this.
    6 replies
    Mike Scott
    @ceilidhboy
    The Slim Protocol defines 5 commands that the protocol sends. The first is the import command. I thought this would be sent when a !path directive was encountered on a page but it doesn't. Anyone know how the Slim import command is sent? I'd like to use it for specifying namespaces in PHP Slim but I can't figure out what to put on the FitNesse pages to get it to send the command :-\
    5 replies
    Fried Hoeben
    @fhoeben
    If you get ‘"Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)"’ you are using Java 18. That’s not supported as Mike indicate. You have to use either 8 or 11
    2 replies
    Ashwin
    @githmashwinkumar
    I am evaluating Release v20220319 before proposing it in my organization. @mike_stockdale_twitter suggested I may not be using the right JRE in Fitnesse. Can someone please let me know how to verify the JRE set in my Fitnesse? I have Java-8 on my machine.
    Ashwin
    @githmashwinkumar
    I just created two pages inside a Suite as "FitnesseDemo" and "FitnesseDemoPage". Neither of these are visible in the Suite. They do show up when I search. Please let me know what am I missing.
    petedussin
    @petedussin
    does the Suite page have the command to show subpages? something like: !contents -R2 -g -p -f -h
    3 replies
    Ashwin
    @githmashwinkumar
    Friends, it has been over 2 weeks and have practically made no progress. Consistent page disappearance, runtime exceptions, and getting support in addressing these are proving to be the major roadblocks. Don't think Fitnesse is meeting my expectations and can't propose this as a tool in my Organization. Can you suggest some alternative to Fitnesse please? The Tools should be compatible with Visual Studio.
    1 reply
    Ashwin
    @githmashwinkumar
    Was able to get some breakthrough using FIT Test Engine. Now, it is failing with this message "java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release" after I changed the engine to SLIM. Please let me know if you have any thoughts in handling this. Fitsharp.dll is provided as reference in Visual Studio before building.
    1 reply
    Fried Hoeben
    @fhoeben
    You are running an unsupported Java version. Please switch to Java 8 or 11
    13 replies
    Dan Woodward
    @woodybrood
    Just a random thing that I thought a few folks might appreciate. I'm doing some manual testing on a feature that requires videos to test. I wanted a longer one and didn't want to worry about family stuff and movies are too long. So, I have been using the video that Uncle Bob released in 2008 to announce and explain SLIM.
    And now every time I press play, I get to learn all of that architecture all over again. And again.
    shashikumar
    @sbeesu-aim
    Hi trying to use fittnesse and looking at the github the project is on java8 is this code base actively maintained with latest java?Last update I see is in 2019
    https://github.com/fitnesse/fitnesse
    2 replies
    Renaud Cepre
    @renaudcepre
    This message was deleted
    1 reply
    Renaud Cepre
    @renaudcepre

    Hi everyone.
    I currently search a way to make manual tests in Fitnesse. I use cslim.
    The ideal would be to have a way to display a text and two buttons (yes/no) directly in the FitNesse test page, but I really don't know how to do such a thing.
    Do you have any leads or ideas? I can also be on another page, from the C code, whatever.

    Thanks you !

    3 replies
    Ashwin
    @githmashwinkumar
    Friends, I tried to get information about features offered by Fitnesse in comparison with QTP. My testing Team is currently using QTP for automating. I was planning to propose Fitnesse. Can you please confirm that QTP is meant for UI Testing, right? I know Fitnesse is not meant for UI testing - which is suiting our requirement. But, wanted to know if QTP can be used for achieving whatever Fitnesse offers. Let me know please.
    13 replies
    Ashwin
    @githmashwinkumar
    Friends, Please help me understand. If I create Test Cases in Fitnesse, can I share it with different Teams for running? Our UAT server has static IP. If I set up Fitnesse on it and create the Cases, will my Team members be able to run them? Didn't see any feature\activity on sharing or inviting users. Did I miss anything?
    13 replies
    Ashwin
    @githmashwinkumar
    This message was deleted
    5 replies
    Mike ∫tock∂alε
    @mike_stockdale_twitter
    Just found a bug in how FitNesse unescapes HTML! It replaces &amp; with & and then replaces &lt; with <. So given &amp;lt;, the result is <, when it should be &lt;. The problem is the replacements should be done in the reverse order. It's easy to fix but it's been like this for many years and I worry about users that have workarounds that rely on this incorrect behavior!
    1 reply
    Renaud Cepre
    @renaudcepre

    Hi everyone.
    a little while ago I asked this question on stack overflow https://stackoverflow.com/questions/72852654/interpret-a-variable-in-a-table-marked-with-an-exclamation-mark, and no one has answered me yet. I am facing the same problem a second time, I need the interpratation of the ${RUNNING_PAGE_NAME} variable, so I have to put an exclamation mark just before the script table. but I need this variable inside a map, like this:
    !define data {!{context:${RUNNING_PAGE_NAME}, sut_version:__une_version__}}.

    Without exlamation mark the ${RUNNING_PAGE_NAME} variable is transformed in html, and with it, the map is no longer interpreted as a map.

    Do you have any idea that can help ? Thanks

    3 replies
    term73
    @term73
    Hi everyone, I have question related to security headers -> does FitNesse support them ?
    2 replies
    • Content-Security-Policy (protection against Cross-Site Scripting and Clickjacking attacks)
    • X-Frame-Options (protection against UI redressing/Clickjacking attacks)
    • HTTP Strict-Transport-Security (HSTS) (protection against man-in-the-middle attacks)
    • X-Content-Type-Options (protection against MIME-type confusion)
    Tom Heintzberger
    @tcnh

    Has anyone worked upon intergrating fitnesse with report portal?

    Yes, I have. However we started building another test reports tool with a different focus than RP, so moved development there. If you need help, I can provide working source code for junit integration and a plugin to integrate tests in wiki, but that won't work on gitter too well.

    Jeroen ten Kate
    @jeroen.tenkate:matrix.org
    [m]
    Hi, we're moving our pipelines from Azure to GitHub. I'm looking for the action to publish the test results. Can someone help me with that?
    Cheers. Jeroen
    2 replies
    arjanvanetten
    @arjanvanetten
    hi, i am used that if i run a testsuite, the testresults of the testpages that are completed, are showed. So testsuite contains testpage 1 and 2. If testpage 1 is completed, the results of testpage 1 are shown. Now only at the end of the testsuite the results of all shown so i don't the progress . Is this a setting or release (i think have installed the last release on another instance of Fitnesse not on this one). Thanks in advance, arjan.
    Timo van Dorth
    @timovd
    We are using multiple FitNesse suites. One suite is basically the main suite and we have included this as a dependency into the "sub-suites". Dependencies from this main suite are therefore automatically included in this sub-suite (unless explicitly excluded), such as HSAC fixtures, FitNesse, JDBSlim, etc...
    Currently in the build/plugins, I included HSAC fixtures as standalone. I'd like to remove this, since we already define this in the main suite. Every time there's a new HSAC version, we need to update the version in the main suite, but also in the sub-suites. This is not desired, since this requires a lot of maintenance. How can I do this?
    1 reply
    arjanvanetten
    @arjanvanetten
    (chat of 29 sept reissued) hi, i am used that if i run a testsuite, the testresults of the testpages that are completed, are showed. So testsuite contains testpage 1 and 2. If testpage 1 is completed, the results of testpage 1 are shown. Now only at the end of the testsuite the results of all shown so i don't the progress . Is this a setting or release (i think have installed the last release on another instance of Fitnesse not on this one). Thanks in advance, arjan.
    epistax
    @epistax
    We're seeing poor performance on windows (but not Linux) after upgrading from a very old version of FitNesse to the latest w/ thread pooling. I wanted to tweak some parameters to see if we can get some improvements, however when we try to build the fitnesse standalone jar, it spins until the output file has consumed all available storage and fails (58GB on last run). Any advice where to get started debugging?
    8 replies
    abascom
    @abascom
    We're currently upgrading our version of FitNesse and our CI builds request a very large number of regression tests to run in parallel to the FitNesse server. This was enough to exhaust the current size of the worker thread pool. I'd like to submit a PR adding a new command line argument allowing the maximum thread pool workers to be changed. Do I need to create an Issue for this change or is just submitting the pull request fine?
    3 replies
    Timo van Dorth
    @timovd
    Is there a way to start MS Edge (the browser) with args to not show the sidebar.
    Since MS Edge 107, the sidebar is shown always when FitNesse is starting the browser. I already tried starting with "--disable-features".
    The reason I'd like to hide it is to see how the SUT is shown (in MS Edge) with our supported window size. When the sidebar is shown, the SUT is technically in a smaller window. Of course, I can set the browser size wider, but this is not a neat solution.
    arjanvanetten
    @arjanvanetten
    hi, i am used that if i run a testsuite, the testresults of the testpages that are completed, are showed. So testsuite contains testpage 1 and 2. If testpage 1 is completed, the results of testpage 1 are shown. Now only at the end of the testsuite the results of all shown so i don't the progress . Is this a setting or release (i think have installed the last release on another instance of Fitnesse not on this one). Thanks in advance, arjan.
    arjanvanetten
    @arjanvanetten
    hi, script Browser Test Command Click. Fitnesse some times waits on a location before clicking. my question is where does Fitnesse waits for.?That the element is enabled or is rendered ??? I ask this because sometimes Fitnesse waits very often. (this may be a problem of our server not of Fitnesse). Thank you, arjan.
    2 replies
    arjanvanetten
    @arjanvanetten
    hi, in the past during the run of a testsuite I see a stop test button and the test summary of the already completed testpages (see preferred situation). I have updated fitnesse from version 20211130to an later version 20221102 Now during the run of a testsuite I don't see a stop test button and i also don't see the summary of the already completed testpages (see present situation). returning to version 2021130 didn't work. How I come back to the preferred situation and see the stop test button and summary of already completed testpages? Thank you, Arjan.
    4 replies
    This message was deleted
    arjanvanetten
    @arjanvanetten
    dont now how to attach the screenprints in gitter(???)
    arjanvanetten
    @arjanvanetten
    image.png
    image.png
    first printscreen: preferred situation/ second printscreen: present situation.
    Mike ∫tock∂alε
    @mike_stockdale_twitter
    Please note a copy of the http://fitnesse.org site is now available at https://fitnesse.github.io/fitnessedotorg/ At this time, it only has a link to the latest version available for download.Let me know if you see any other differences or missing information in the github.io site. I'll add some of the older versions to the download page, and if everything else looks OK, we can point fitnesse.org to the github.io site. Bob Martin would like to shutdown the fitnesse instance that's serving fitnesse.org.
    arjanvanetten
    @arjanvanetten
    image.png
    image.png
    image.png