While both tenses are idiomatic and correct, the choice between present perfect and past generally depends on the context.
If you had recently tested the program, you would be more likely to say
I have tested....
If your statement related back to a test that you had carried out in the past (whether last month, last year or whatever)
you are more likely to say
I tested....
With the use of the past tense, one frequently gives the approximate date.
I tested the programme last week/month/year
and it does work.
ell.stackexchange.com/users/41356/Ronald Sole
I wouldn't find either statement obviously wrong, or expect a native speaker not to say one of them, but they seem subtly different.
To me, saying: I've tested the program with this input data and it does work.
emphasises that the program is, right now, in a tested state.
Whereas:
I tested the program with this input data and it does work.
emphasizes a past event - you testing it.
For that reason I'd prefer the first if you wanted to keep the '
and it does work', and simply 'I tested the program with this input data' (or 'I tested the program with this input data and it worked', or
'I tested the program with this input data this morning and it worked')
if you were not sure that it still worked now.
I speak
British English - US English seems to use the present perfect tense less often, so you may get different judgements from Americans.
ell.stackexchange.com/users/87102/Alex Hayward
Both are right but to me, this is more natural:
I have tested the program with this input data and it works.
ell.stackexchange.com/users/109564/Daniil
The perfect aspect is used to indicate the state relative to some other time; in the case of present perfect, that time is now.
So "I have tested" implies that while the testing was done in the past, it remains relevant, allowing one to follow with "it works" in the present tense: the act of testing was completed, and remains completed.
Using the simple past put the action purely in the past, and doesn't imply anything about the current state; the simple past doesn't have the same connotation of it being completed as the present perfect does.
So following it with the present tense is off; it should be "I tested it
and it worked".
ell.stackexchange.com/users/61500/Acccumulation
This is a computer-programmer's opinion, rather than a linguists answer , but I would only ever use
I tested the program with this input data and it worked .
(Emphasis added for clarity.)
ell.stackexchange.com/users/87109/ShapeOfMatter
Let's consider the conversation:    This program doesn't work with this input data.  I've tested the program with this input data and it does work.    Is it right to  use the present perfect here? Or does the simple past sound more natural?    I tested the program with this input data and it does work.    I suppose both variants are correct, right? But which one is more natural?
Proper tense in "I've tested the program with this input data and it works"
ell.stackexchange.com
<present-perfect><present-simple>
ell.stackexchange.com/questions/190621
ell.stackexchange.com/users/86864/Alexey
While both tenses are idiomatic and correct, the choice between  present perfect  and  past  generally depends on the context.  "I've tested the program with this input data and it does work" emphasises that the program is, right now, in a tested state. Using the simple past put the action purely in the past, and doesn't imply anything about the current state; the simple past doesn't have the same connotation of it being completed as the present perfect does. Both are grammatically correct and idiomatic, but subtly different in meaning. The perfect is used to refer to the tested state of the program, and the fact that the testing is complete. In contrast, the past tense refers to an action in the past, and does not necessarily imply that the program is still in a tested state.
Both are grammatically correct and idiomatic, but subtly different in meaning. The perfect is used to refer to the tested state of the program, and the fact that the testing is complete. The past tense refers to an action in the past, and does not necessarily imply that the program is still in a tested state.