This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help on Fitnesse

 
seb girard
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know either, it's a pretty specific question. You might try the e-mail group for fitnesse.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic