Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    joroelev
    @joroelev:matrix.org
    [m]
    Not much conversation here yet 😄. So let me ask a question. In Slack some messages were posted automatically when for example FitNesse was released. Will that be the case on this platform as well?
    1 reply
    petedussin
    @petedussin
    Hey guys, I'm having issues with a new Fitnesse-standalone.jar on top of an old FitnesseRoot. It works fine from the wiki but when I reorganized suites or create new tests, they won't run from the command line. I see there is a new format of Test1.wiki, and those tests don't get run
    16 replies
    anyone else experience this or know how to deal with it?
    petedussin
    @petedussin
    Never mind. Thanks for the troubleshooting help
    was running an old jar at the command line, that didn't match the new one used for the wiki being run as a service
    2 replies
    :(
    Steve McDonald
    @enginpost
    Does anyone know if Fitnesse supports markdown as opposed to using their own custom Markup Language?
    1 reply
    Daniël Verburgh
    @danielkroon
    This message was deleted
    1 reply
    Timo van Dorth
    @timovd
    Anyone running/building FitNesse with HSAC's browsertest with Kotlin? UncleBob's FitNesse is built with Groovy. Instead of reinventing the wheel; does someone have an example?
    2 replies
    Chengpu0707
    @Chengpu0707
    Hi, I am a new comer. I have two basic questions:
    1. When I have -log <folder> as argument, why I can not see any log file there? With log file I can learn the source code for fitnesse better.
    2. My goal is to add a button "Fix" in addition to "Test" in each page, to automatically fill in values for the page. My use case is the following: The app log is in the format of fitnesse pages, if I have verify the behavior to be correct, I want to "Fix" it as a test page for the future. Can someone give a pointer on where to start?
    Chengpu0707
    @Chengpu0707
    To clarify my approach:
    1) If I run from jar file directly, I saw the log file, and messages in console.
    2) If I run from eclipse, I could not see the log file, and any message in console.
    Is there a way for me to see the logs and messages in eclipse?
    Fried Hoeben
    @fhoeben

    I suppose there must be, but it depends on how you run from Ecilpse. I’m not an Eclipse user. Maybe someone can help you with that if you describe how you run from Eclipse, in Java terms. For instance do you start the jar or are you running classes directly, without building a jar from them, how do you pass arguments?

    Regarding your ‘fix’ button idea. I don’t really see what that has to do with log files. It sounds like you want to generate alternative versions of wiki pages, where expected values are updated to actual values. You could take a look at the code to generate the ‘re-run suite’ that is generated when some pages in a suite fail. That gives an indication how to create a new page, from code, that can immediately be run from the wiki. But I don’t think this can be a generic feature: test failures could depend on input values to a fixture, not just direct expectations, or symbols could be used as expected values (ie the expected value is the output of some other method). It could of course work in your specific test setup and fixtures.

    Chengpu0707
    @Chengpu0707
    @fhoeben The use case is the following: Suppose the test suits are already generated, and there is some business logic changes. It is tedious to change every cell, a "Fix" button will accept the current values.
    1 reply
    Izison
    @Izison
    Hi, I am curious how to define multiple line (to be more readable ) JSON string in variable something in line of Wiki : ! define $testJsonInput = { "input": ["test"]} ???
    3 replies
    lew-kas
    @lew-kas
    Hey, working with ejbs over here.. fitnesse always give me a "NoInitialContextException". FitNesse is running separately from my business apps which are deployed on a jboss. Any ideas on how to provide an InitialContext?
    benlyons
    @benlyons
    Hi, does anyone know if FitNesse is at risk from the log4j vulnerability? fitnesse.jar and fitnesse-standalone.jar contain classes from Apache Velocity that reference log4j, so I would assume that to mean "yes, it is at risk". However, there is no mention of this in the FitNesse GitHub repo.
    4 replies
    Alexander Poth
    @allekai

    Hey there, in our setup we have a small set of test pages which are used in multiple test suites. Until now, we have copied these test pages to each test suite. To reduce code duplication, I tried to create a new test page, which servers as a template an which is parametrized. The test page is on the same hierarchy level as the test suites.
    When I try to reference the test pages via "!see Template_Test_Page" the command is not rendered like the reference manual shows (alternatively I tried an absolute path as well, but that didn't work either). Instead, the command is printed as is.
    We are running an older version of fitnesse (20200308), but I couldnt find anything relevant in the changelogs.

    Do you know, why it is not correctly rendered or how I can further debug this?

    1 reply
    Ywe van der Pol
    @ywevanderpol_gitlab
    Anyone else any problems with fitnesse.org is down?
    Fried Hoeben
    @fhoeben

    Yes fitnesse.org is down. See https://github.com/unclebob/fitnesse/issues/1348#issuecomment-1004655347

    Unfortunately the server does not even allow remote logins at the moment. I Uncle Bob already indicated he doesn't manage the server either. Maybe Mike can access it, or knows who manages the sever

    4 replies
    Izison
    @Izison
    Hi, I have tests that pass on lower environments (e.g Integration environment) , but fail on production (e.g. missing test users from Integration environment) . Does Fitnesse have IF statements that would wrap test table and execute it if some environment variable would be of specific value e.g "if env != PROD |script| TestFixtureThatOnlyPassesOnNONProdEnv| ..... " Currently I do it via Tags and "&excludeSuiteFilter=not_on_prod" . Is there any other practical/tested way ?
    3 replies
    Andrew Patterson
    @officialpatterson
    hello, before I raise a bug ticket has anyone had any experience with missing values in assertions? It looks to me like a race condition as the assertion+fixture sometimes passes and is valid but other times it fails with a missing value - any ideas?
    5 replies