First of all I would like to say
Hello to everyone as I am a newjoiner.
I am beginning my
java trip right now.
Hence first question...
I am using Eclipse environment.
Let's assume I need to develop only one function, that will be implemented to some system.
For this I do not need a class, just a function with input parameters and return parameter.
The thing is that among the others I would like to pass arrays as parameters and return an array.
So let's say my function would be:
Now. ... I would like to
test my function.
I could create a class then in code fill arrays aString1, aString2 and aString3 with data then pass them to my function.
But this is time consuming (not that I am a lazy guy :P )
I just just need to have possobility to increase/decrease number of params for my function along with number and content of items in arrays.
For every change I would need to re-code my class.
And finally ... my question
Is it possible to facilitate my testing with some Eclipse tool?
That I am able to test only my function(I should say method)
For example fill arrays through Grid components copy-pasting the contents right before launching the function?
I would really appreciate your tips.
Regards,
P.