User Tools

Site Tools


eiffel:etf:debugger:start

This is an old revision of the document!


Using the debugger with an ETF acceptance test

When an acceptance tests such as at1.txt is being developed (or failing), we might wish to use the debugger to determine where our implementation or contracts are failing. To do this, we must execute our code under development (usually in the W-code directory) from the IDE directly. To do this we must set up the Execution Parameters (accessible from the Run menu).

Click on the Add tab and provide a name for the profile, e.g. at1.txt.

As shown above we must provide Arguments. In the above case, I pass in “-b” for ETF batch mode and the location of the acceptance test. in the above case ../tests/at1.txt (the location is relative to the location of the ECF configuration file).

If you would like to specify the absolute path of the tests directory, then double click on the Working Directory tab and browse to the folder where the acceptance test is located. In this case it is sufficient to provide arguments -b at1.txt for the profile.

You can now select that profile and execute it. The results of the acceptance test will be printed to the terminal (from where you invoked estudio).

eiffel/etf/debugger/start.1583703980.txt.gz · Last modified: 2020/03/08 21:46 by jonathan