Browse Source

add example on how to run a single test to documentation (#14588)

Contributed by Mischa The Evil.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12072 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.4.0
Toshi MARUYAMA 11 years ago
parent
commit
f5658df8db
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      doc/RUNNING_TESTS

+ 2
- 1
doc/RUNNING_TESTS View File

Run `rake test` to run the entire test suite (except the tests for the Run `rake test` to run the entire test suite (except the tests for the
Apache perl module Redmine.pm and Capybara tests, see below). Apache perl module Redmine.pm and Capybara tests, see below).


You can run `ruby test/unit/issue_test.rb` for running a single test case.
You can run `ruby test/unit/issue_test.rb` for running a single test case and
`ruby test/unit/issue_test.rb -n test_create` for running a single test.


Before running tests, you need to configure both development Before running tests, you need to configure both development
and test databases. and test databases.

Loading…
Cancel
Save