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.