File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes Help on Fitnesse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Help on Fitnesse" Watch "Help on Fitnesse" New topic

Help on Fitnesse

seb girard

Joined: Feb 27, 2011
Posts: 1
Hello, I need your help in order to solve several problems with Fitnesse:
- When there is a "main" function in a C program, I cannot test the functions of this program.
For example:

int add (int a, int b)
return a + b;

void main (void) {
int a = 1;
int b = 2;
int result = add (a, b);}

How do I test the add function in Fitnesse?

- Is it possible to test a Java or C + + application that allows you to move a
cursor / an arrow / an image on a GUI using the arrow keys, and then be able to check it with fitnesse (by simulating the use of an arrow key and checking the result on the GUI)? Does ActionFixture allow doing it?

I am investigating for over a month without success, I cannot find much information about Fitnesse. This work is crucial for my diploma and as time goes it gets more and more urgent every day.
Would you be so kind to help me please, thank you.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199


Welcome to JavaRanch!

I'm afraid I don't know the answers to your questions, but I did change the title of your post to something that should hopefully attract the right people. Good luck!

[Jess in Action][AskingGoodQuestions]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33107

I don't know either, it's a pretty specific question. You might try the e-mail group for fitnesse.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Consider Paul's rocket mass heater.
subject: Help on Fitnesse
It's not a secret anymore!