fhoeben / allure-fitnesse-listener

jUnit Listener to incorporate FitNesse results in Allure
Apache License 2.0
1 stars 4 forks source link

Can generate allure report from fitnesse-standalone.jar #10

Open hongson1981 opened 1 year ago

hongson1981 commented 1 year ago

Can we integrate allure report to fitnesse-standalone.jar and use this jar file in any environment?

fhoeben commented 1 year ago

I'm not sure what you mean can you elaborate what you want to achieve and what you mean by "integrate allure report to fitnesse-standalone.jar"

I have to admit I haven't looked at this project in a long time, so I'm a bit rusty here....

hongson1981 commented 1 year ago

I mean that: Can we generate allure report when we run the test on webpage using fitnesse-standalone.jar It look like steps below:

  1. Start java -cp fitnesse-standalone.jar fitnesseMain.FitNesseMain -p 9090
  2. Open http://localhost:9090/ -> open Fitnesse GUI
  3. Run some test suites on Fitnesse GUI
  4. And allure report will be created after we run the test suite on GUI
fhoeben commented 1 year ago

And the allure report should be somewhere on the local disk, but not show or accessible via the FitNesse server?

If I recall correctly this allure listener is really a jUnit listener so it can only be used when running FitNesse tests from jUnit so I don't believe it will be easy to integrate into FitNesse standalone. (I always thought something like allure is only interesting when running large suites. Running a large suite I would not like to do on my local machine, but via a CI server. On a CI server I run test via the jUnit runner based on test content in version control. Having a wiki server there doesn't add value as far as I can tell. But that's just how I always used it.)