Comments (9)
Issues starting a test system normally show up in the 'Execution' log that can be reached from the wiki page, after you started the test. Is there any relevant information there.
Usage of an slf4j implementation is always a bit tricky for FitNesse given that it is both a library and a separate process. When used as a library we want to allow the fixture (or System Under Test) code to be able to choose its implementation for logging and FitNesse should not get in the way. When starting a server it would be best to have an slf4j implementation activated. I actually thought we did bundle and activate one that would cause logging to go to the console.
But I have to admit I haven't looked at this in a long time, never had any need for logging of the wiki server. I'm fairly sure the Execution Log will contain the information needed to trouble shoot the issue you are having
from fitnesse.
The execution log contains no information besides that the slim server failed to start. I also found out that when using the official Java 8 JRE together with an older FitNesse version, the logging works.
I suspect that this has something to do with the OpenJDK installation.
from fitnesse.
from fitnesse.
Even the command is not displayed inside the execution log.
It is however displayed together with a Exception when using the official Java 8 JRE.
from fitnesse.
Hi Wer-Wolf,
I tried the same configuration which you mentioned: Winows 11, openJDK11 and Fitnesse 20240707.
It is correct that at startup it logs that no SLF4J provider is found.
This has no influence on running the system and executing tests. They all work without problems.
Tried:
http://localhost/FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.MaxTimeDivision?test
http://localhost/FitNesse.UserGuide.TwoMinuteExample?test
Can you try these?
Do you have a problem with a testcase you created yourself?
from fitnesse.
I am having a problem with a test case i created myself. The problem is that no error information is displayed when the test fails, likely because of the missing SLF4J provider.
If this the intended behaviour for the standalone fitnesse binary, then we might close this issue and i will try to install a proper SLF4J provider.
from fitnesse.
What error kind of error were you expecting when a test fails. Normally in FitNesse we expect the test result to be visible in the resulting HTML page. Building that page is not done via slf4j so it should not require a provider.
from fitnesse.
I just checked the source setup (as we do seem to include slf4j-jdk14
as a dependency) and it is strange that this message is displayed. You already indicated that it does not occur with Java 8 and an older FitNesse version,
from fitnesse.
Due to our build process I believe we are missing the configuration for the logging implementation to be picked up automatically.
As a workaround you can add -Dslf4j.provider=org.slf4j.jul.JULServiceProvider
to your startup command and slf4j logging will work as before (you can of course also add your own provider/binding, which I recommend if your fixtures rely on slf4j logging, and configuration). So the full command then becomes something like:
java -Dslf4j.provider=org.slf4j.jul.JULServiceProvider -jar fitnesse-20240218-standalone.jar -p 9090
We should see whether we can default the provider (so only use this provider if no other provider is available) to prevent this message. That should also resolve the older issue where we want to have a provider in the wiki process (where we are the application) but we don't want to add this provider to test processes (when FitNesse acts as a library which should only rely on the API) where fixtures provide their own logging provider/config.
from fitnesse.
Related Issues (20)
- Problem with delete Spcialisterren logo/image
- data:image/png;base64 HOT 1
- Java-11 compatible version of FitNesse is in Maven Central HOT 1
- Authentication - a little more options in the UI would help HOT 4
- I want to see each command immediately as it is being executed
- Running test suite with format XML stops at first date field in result HOT 3
- Can a template template access a markup variable whose name is argument to the table template ? HOT 2
- Need to disable adding new pages HOT 1
- Switching off the page and test history HOT 15
- When run Suite test, cannot read test history is not saved HOT 2
- fitnesse compile error how to fix it? HOT 7
- How to use conditional script? HOT 3
- Slim GracefulNaming, misleading documentation in the UserGuide HOT 8
- Starting fitnesse with ./gradlew run doesn't complete HOT 3
- [Question] How to get java for the latest version of fitnesse HOT 1
- Bootstrap 3 still being compiled HOT 2
- Heading anchor covered up by top nav bar in bootstrap theme
- When will a new Version be released? HOT 2
- Azure Active Directory / Entra ID support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fitnesse.