Difference between revisions of "How Testing Tool Works"

Line 2: Line 2:
  
 
This page explains how Eiffel Studio testing tool works under the hood. For Eiffel Studio testing tool general information, please see [[Eiffel_Testing_Tool]].
 
This page explains how Eiffel Studio testing tool works under the hood. For Eiffel Studio testing tool general information, please see [[Eiffel_Testing_Tool]].
 +
 +
== Main ideas ==
 +
 +
=== Test case creation ===
 +
 +
Testing tool can create unit test cases.
 +
 +
=== Test case execution ===
 +
 +
Eiffel Studio testing tool is a tool which launch eweasel executable in background.
 +
 +
If launch success, eweasel output analyzers will analyze all eweasel console outputs which redirected by process library.
 +
 +
 +
== Details ==
 +
Just after pressed `start_test_run’ button, testing tool will try to find eweasel executable (e.g. eweasel.exe on Windows) under your $ISE_EIFFEL/eweasel/bin directory. If the executable not found, testing tool can’t not start the test run. And it will report error on the UI.
 +
 +
== FAQ ==
 +
 +
=== If just after started testing, but eweasel is hanging ===
 +
This is normally caused by following three reasons:
 +
 +
*Precompiled lib version is not correct
 +
This normally happens just after you using a new version of ec.exe. So the precompiled library version mismatches. Please first precompiled the base and base-mt before use the testing tool.
 +
 +
*Your locale is not “en_US”.
 +
The solution is set ISE_LANG environment variable. “set ISE_LANG=en_US”
 +
 +
*ec compliant about $ISE_EIFFEL not exits just after started
 +
Please make sure your %ISE_EIFFEL environment is correct. Please make sure it isn’t end with “\” and the path exits.

Revision as of 05:14, 22 April 2008

Construction.png Not Ready for Review: This Page is Under Development!

This page explains how Eiffel Studio testing tool works under the hood. For Eiffel Studio testing tool general information, please see Eiffel_Testing_Tool.

Main ideas

Test case creation

Testing tool can create unit test cases.

Test case execution

Eiffel Studio testing tool is a tool which launch eweasel executable in background.

If launch success, eweasel output analyzers will analyze all eweasel console outputs which redirected by process library.


Details

Just after pressed `start_test_run’ button, testing tool will try to find eweasel executable (e.g. eweasel.exe on Windows) under your $ISE_EIFFEL/eweasel/bin directory. If the executable not found, testing tool can’t not start the test run. And it will report error on the UI.

FAQ

If just after started testing, but eweasel is hanging

This is normally caused by following three reasons:

  • Precompiled lib version is not correct

This normally happens just after you using a new version of ec.exe. So the precompiled library version mismatches. Please first precompiled the base and base-mt before use the testing tool.

  • Your locale is not “en_US”.

The solution is set ISE_LANG environment variable. “set ISE_LANG=en_US”

  • ec compliant about $ISE_EIFFEL not exits just after started

Please make sure your %ISE_EIFFEL environment is correct. Please make sure it isn’t end with “\” and the path exits.