Menu
  • HOME
  • TAGS

How to define several ScenarioLibraries in Xebium

testing,selenium,automated-tests,fitnesse

ScenarioLibrary is not an special mechansim. It is just a default page that is automatically included in each test suite. So you can create your own static pages containing scenarios and import them in any test suite of your own interest by using !include directive. Have a look at this...

Fitnesse eclipse project root path

eclipse,testing,automated-tests,fitnesse,fitnesse-slim

I think I have to add FitnesseRoot Folder on root path. It solves the issue. !path ..proj/WEB-INF/lib/*.jar !path ..proj/WEB-INF/classes ...

FitNesse throws FileNotFoundException, even with available port [duplicate]

java,fitnesse

I believe your running into problems because the installation is below c:\Program Files. I do not think by default you are allowed to create files there, you need to run as administrator. Can you try: move the jar to a different location (for instance C:\FitNesse\), and start from there or...

Markup inside Fitnesse test table

fitnesse

The only way I'm aware of is to do this in code (removing the HTML tags before doing the actual compare operation).

Clear html from fitnesse tables

html,fixtures,fitnesse,fixture,fitnesse-slim

Arjan Molenaar wrote me about propriate solution. For such a problem it is reasonable to create a custom TestSystem based on HtmlSlimTestSystem. You may overwrite processAllTablesOnPage in an order to clear pageToTest....

FitNesse RestFixture test fails to get access token

rest,oauth,fitnesse,spring-security-oauth2

I launched tcpdump to check what exactly I send from my curl request (as descibed in Use TCPDUMP to Monitor HTTP Traffic): sudo tcpdump -A -s 0 'tcp port 8080 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' I launched it on server machine. I found that curl automatically added...

Execute External commands Fitnesse/DBFit from within a Test page

testing,ssh,db2,fitnesse,dbfit

There's been a few implementations of a CommandLineFixture - google commandlinefixture and you'll find them.

FitNesse dynamic fixture for test table?

testing,fitnesse

Yes you can. A fixture can get access to the structure of the table and do anything it wants to. In classic Fit, you override the doRows method: public class MyFixture extends Fixture { public void doRows(Parse rows) { ... use methods on rows to iterate through the table }...

Retrieving applicationContext in Fitnesse test

java,spring,spring-mvc,fitnesse

You'll want to create a (static) instance of your applicationContext using AnnotationConfigApplicationContext (http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/context/annotation/AnnotationConfigApplicationContext.html) passing its constructor the annotated classes that define the context your controller should have access to. These classes can (of course) be the real configuration your application uses, or a custom configuration for a particular test. If...

What would cause no rows in table exception?

java,fitnesse

I was trying to comment in the first cell of the first row. When I put real data in the first cell and the comment in the last cell, I had better luck. example: |!TestMyData|100| <-- didn't work |100|!TestMyData| <-- this worked

How Fitnesse differs from JUnit?

fitnesse

The main difference for me is the target audience. JUnit (and other unit test frameworks) are targeted to developers validating their code (still) does what they expected it to do. The test definition, execution and interpreting of output is expected to be done by programmers. The toolkit is designed for...

Fitnesse importing util.ListUtility.list; is giving error

java,fitnesse,fitnesse-slim,selenium-fitnesse-bridge

It is resolved, as util.ListUtility.list; is not in fitnesse jar so I created the class in my source with same utility.

FitNesse SVN Version Controller

git,svn,fitnesse

I am able to crack the solution eventually by analyzing the code deeper and finding the socket points to build my own system similar to GitVersionController. Thanks....

Fitsharp, how to give symbols as argument?

c#,fitnesse,fitsharp

The symbol save operator (>>) and the symbol recall operator (<<) can be used to collect a value at one place in a story test and then use it in other places. The symbol save operator can be used in any expected value cell. Instead of comparing the actual value...

FitNesse Fixtures - Enabling a FitNesse Fixture to call a method on the Server Side

java,eclipse,web-services,fitnesse,wsimport

There are many ways to do what you describe. You could, for instance, create your own fixture (i.e. class containing test code) in Java that uses the stubs you generated to call your service. Or (what I prefer) is to call the services directly using HTTP posts, configured in the...

Sharing content.txt data between multiple Fitnesse tests

java,fitnesse

When a fixture like TestUtility is created by the FitNesse test engine, it is initialized by FitNesse to let you access information from the test page with methods like getText. When you create a fixture with new, this information is not initialized and calling getText will fail, as you saw....

Can fitnesse validate non-xml output

fitnesse,fitnesse-slim

I found this solution. TEXT is a supported content handler along XML and JSON. It is possible to override the content handler as TEXT and expect the content. Regular expression can also be used to expect content. | Table:smartrics.rest.fitnesse.fixture.RestFixtureConfig | overridesContentHandlerConfig| | restfixture.content.handlers.map | application/smil=TEXT | !| Table:smartrics.rest.fitnesse.fixture.RestFixture | ${host}...

How to define variables in non-technical style

fitnesse,fitnesse-slim

It's important to understand the differences between Variables and Symbols in FitNesse and the relationship to tables. Variables are defined so that they render before the page executes a test. The best use for variables is when you want to "hard" code a value that you are going to use...

How to install FitNesse on application server as war/ear

war,ear,fitnesse,application-server

I do not believe it is possible, but even if you were to get the wiki running inside an app server, a test run would still try to start a new java process (by starting the java executable) so you still need access to that executable. But does the test...