Loading ...
Sorry, an error occurred while loading the content.

Re: [fitnesse] Trouble getting Runner.exe to Run

Expand Messages
  • Mike Stockdale
    To run FitNesse tests from the command line, see http://fitnesse.org/FitNesse.UserGuide.ControllingFitNesseFromTheCommandLine ... -- Cheers, Mike Stockdale
    Message 1 of 4 , Apr 11, 2013
    • 0 Attachment
      To run FitNesse tests from the command line, see http://fitnesse.org/FitNesse.UserGuide.ControllingFitNesseFromTheCommandLine

      On 2013-04-11 13:56, mgurzenski wrote:
       

      I'm setting up Fitnesse on a new machine and use dbFit. When I try to execute my test, the runner just outputs:

      Usage: FitServer [-v] [-c config] <assemblies> <host> <port> <socket-token>
      -v verbose: print log messages to stdout
      assemblies: ';' separated list of assembly filenames

      The command being executed is:
      C:\Apps\FitSharp2.1_NET40\Runner.exe -r fitnesse.fitserver.FitServer,C:\Apps\FitSharp2.1_NET40\fit.dll C:\Apps\FitSharp2.1_NET40\dbfit.dll;C:\Apps\FitSharp2.1_NET40\dbfit.sqlServer.dll 8089

      My parent page for my test has:
      !define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer,C:\Apps\FitSharp2.1_NET40\fit.dll %p}
      !define TEST_RUNNER {C:\Apps\FitSharp2.1_NET40\Runner.exe}
      !define PATH_SEPARATOR {;}
      !path C:\Apps\FitSharp2.1_NET40\dbfit.dll;C:\Apps\FitSharp2.1_NET40\dbfit.sqlServer.dll


      --
      Cheers,
      Mike Stockdale

      fitSharp
      Syterra Software Inc.
    • mgurzenski
      I should clarify, I m running my test through Fitnesse. When I run the test from the wiki page, it errors out and shows the following output on the Error
      Message 2 of 4 , Apr 12, 2013
      • 0 Attachment
        I should clarify, I'm running my test through Fitnesse. When I run the test from the wiki page, it errors out and shows the following output on the "Error Output" page of Fitnesse for the test:

        Usage: FitServer [-v] [-c config] <assemblies> <host> <port>
        <socket-token>
        -v verbose: print log messages to stdout
        assemblies: ';' separated list of assembly filenames

        The command being executed is:
        C:\Apps\FitSharp2.1_NET40\Runner.exe -r
        fitnesse.fitserver.FitServer,C:\Apps\FitSharp2.1_NET40\fit.dll
        C:\Apps\FitSharp2.1_NET40\dbfit.dll;C:\Apps\FitSharp2.1_NET40\dbfit.sqlServer.dll 8089

        --- In fitnesse@yahoogroups.com, Mike Stockdale <jediwhale@...> wrote:
        >
        > To run FitNesse tests from the command line, see
        > http://fitnesse.org/FitNesse.UserGuide.ControllingFitNesseFromTheCommandLine
        >
        > On 2013-04-11 13:56, mgurzenski wrote:
        > >
        > > I'm setting up Fitnesse on a new machine and use dbFit. When I try to
        > > execute my test, the runner just outputs:
        > >
        > > Usage: FitServer [-v] [-c config] <assemblies> <host> <port>
        > > <socket-token>
        > > -v verbose: print log messages to stdout
        > > assemblies: ';' separated list of assembly filenames
        > >
        > > The command being executed is:
        > > C:\Apps\FitSharp2.1_NET40\Runner.exe -r
        > > fitnesse.fitserver.FitServer,C:\Apps\FitSharp2.1_NET40\fit.dll
        > > C:\Apps\FitSharp2.1_NET40\dbfit.dll;C:\Apps\FitSharp2.1_NET40\dbfit.sqlServer.dll
        > > 8089
        > >
        > > My parent page for my test has:
        > > !define COMMAND_PATTERN {%m -r
        > > fitnesse.fitserver.FitServer,C:\Apps\FitSharp2.1_NET40\fit.dll %p}
        > > !define TEST_RUNNER {C:\Apps\FitSharp2.1_NET40\Runner.exe}
        > > !define PATH_SEPARATOR {;}
        > > !path
        > > C:\Apps\FitSharp2.1_NET40\dbfit.dll;C:\Apps\FitSharp2.1_NET40\dbfit.sqlServer.dll
        > >
        > >
        >
        > --
        > Cheers,
        > Mike Stockdale
        >
        > /fit/Sharp <http://fitsharp.github.com>
        > Syterra Software Inc. <http://www.syterra.com>
        >
      • mgurzenski
        The problem ended up being that somewhere in my Fitnesse site, the Test System was setup for SLIM, but I was trying to run FIT tests. I added the definition
        Message 3 of 4 , Apr 24, 2013
        • 0 Attachment
          The problem ended up being that somewhere in my Fitnesse site, the Test System was setup for SLIM, but I was trying to run FIT tests. I added the definition below to the same page that defines the test runner, command pattern, etc.. and it fixed my problem:

          !define TEST_SYSTEM {fit}

          --- In fitnesse@yahoogroups.com, "mgurzenski" <mgurzenski@...> wrote:
          >
          > I should clarify, I'm running my test through Fitnesse. When I run the test from the wiki page, it errors out and shows the following output on the "Error Output" page of Fitnesse for the test:
          >
          > Usage: FitServer [-v] [-c config] <assemblies> <host> <port>
          > <socket-token>
          > -v verbose: print log messages to stdout
          > assemblies: ';' separated list of assembly filenames
          >
          > The command being executed is:
          > C:\Apps\FitSharp2.1_NET40\Runner.exe -r
          > fitnesse.fitserver.FitServer,C:\Apps\FitSharp2.1_NET40\fit.dll
          > C:\Apps\FitSharp2.1_NET40\dbfit.dll;C:\Apps\FitSharp2.1_NET40\dbfit.sqlServer.dll 8089
          >
          > --- In fitnesse@yahoogroups.com, Mike Stockdale <jediwhale@> wrote:
          > >
          > > To run FitNesse tests from the command line, see
          > > http://fitnesse.org/FitNesse.UserGuide.ControllingFitNesseFromTheCommandLine
          > >
          > > On 2013-04-11 13:56, mgurzenski wrote:
          > > >
          > > > I'm setting up Fitnesse on a new machine and use dbFit. When I try to
          > > > execute my test, the runner just outputs:
          > > >
          > > > Usage: FitServer [-v] [-c config] <assemblies> <host> <port>
          > > > <socket-token>
          > > > -v verbose: print log messages to stdout
          > > > assemblies: ';' separated list of assembly filenames
          > > >
          > > > The command being executed is:
          > > > C:\Apps\FitSharp2.1_NET40\Runner.exe -r
          > > > fitnesse.fitserver.FitServer,C:\Apps\FitSharp2.1_NET40\fit.dll
          > > > C:\Apps\FitSharp2.1_NET40\dbfit.dll;C:\Apps\FitSharp2.1_NET40\dbfit.sqlServer.dll
          > > > 8089
          > > >
          > > > My parent page for my test has:
          > > > !define COMMAND_PATTERN {%m -r
          > > > fitnesse.fitserver.FitServer,C:\Apps\FitSharp2.1_NET40\fit.dll %p}
          > > > !define TEST_RUNNER {C:\Apps\FitSharp2.1_NET40\Runner.exe}
          > > > !define PATH_SEPARATOR {;}
          > > > !path
          > > > C:\Apps\FitSharp2.1_NET40\dbfit.dll;C:\Apps\FitSharp2.1_NET40\dbfit.sqlServer.dll
          > > >
          > > >
          > >
          > > --
          > > Cheers,
          > > Mike Stockdale
          > >
          > > /fit/Sharp <http://fitsharp.github.com>
          > > Syterra Software Inc. <http://www.syterra.com>
          > >
          >
        Your message has been successfully submitted and would be delivered to recipients shortly.