Testing a Project
Rails provides integration, functional, and unit test schemas.
You can run command-line rake tests in the ,
or use the .
Integration tests can span multiple controllers and be used
to test Rails routing.
To run integration tests:
-
Right-click the node of the
folder in the .
-
Select
Use functional testing to test single controllers
and simple user stories.
To run functional tests:
-
Right-click the
node of the folder in the
.
-
Select
-
Where multiple tests are available use the
dialog box to select the desired test.
Use unit tests to test business logic.
To run unit tests:
-
Right-click the node of the folder
in the .
-
Select:
-
Where multiple tests are available use the dialog box to select
the desired test.
Related
Reference
Unit Test Rails
Function Test Rails
Integration Test Rails
CodeGear brand
and product names are service marks, trademarks or registered trademarks of Borland Software
Corporation in the United States and other countries.