Re: R: Gobo Eiffel Test
Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> Wed, 15 Aug 2007 23:33:16 +0200
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
Croci Michele wrote:
> I'm sorry the ISE_EIFFEL variable is right set, in the error report I have substituted the absolut path with the variable. I'd be grateful if you could answer to these questions:
>
> - the ace file should list all the clusters of my project or only the clusters with the test cases?
The clusters of your project, the clusters with your test cases,
the TESTGEN cluster and the clusters of the test library.
> - what I have to set in the compile option of the configuration file? 'ec' is right?
Yes, put 'ec' with its relevant command-line options.
> - I also need a build.eant file?
Not necessarily.
> Thank you very much again
Here is an example:
In $GOBO\example\test\concat1, in the file 'getest.ise'
I replaced these lines:
compile ("geant compile_ise > xcompile.log 2>&1")
execute ("xconcat1")
by:
compile ("ec -batch -ace ise.ace -c_compile > xcompile.log 2>&1")
execute ("EIFGENs\xconcat1\W_code\xconcat1")
Then I typed 'getest --ise':
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Preparing Test Cases
Compiling Test Cases
Running Test Cases
Test Summary for xconcat1
# Passed: 0 test
# FAILED: 1 test
# Aborted: 0 test
# Total: 1 test (2 assertions)
Test Results:
FAIL: [TEST_CONCAT1.test_concat] foobar
expected: foobar
but got: foofoo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Eric Bezault
mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected]
http://www.gobosoft.com