From bfaadd47ab1f77e8e20e0c8ca3d6c25a6898b8e9 Mon Sep 17 00:00:00 2001 From: Will Daly Date: Thu, 23 May 2013 22:30:09 -0400 Subject: [PATCH 1/2] Updated testing documentation to reflect changes to how requirements are installed. --- doc/testing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/testing.md b/doc/testing.md index c334317de7..bf70cdcce7 100644 --- a/doc/testing.md +++ b/doc/testing.md @@ -88,7 +88,7 @@ because the `capa` package handles problem XML. Before running tests, ensure that you have all the dependencies. You can install dependencies using: - pip install -r requirements.txt + rake install_prereqs ## Running Python Unit tests @@ -187,7 +187,7 @@ To run tests faster by not collecting static files, you can use **Troubleshooting**: If you get an error message that says something about harvest not being a command, you probably are missing a requirement. Try running: - pip install -r requirements.txt + rake install_prereqs **Note**: The acceptance tests can *not* currently run in parallel. From a64476f39a6e37c52776aac9873156856695c8c3 Mon Sep 17 00:00:00 2001 From: Will Daly Date: Fri, 24 May 2013 11:08:52 -0400 Subject: [PATCH 2/2] Removed obsolete troubleshooting tip. --- doc/testing.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc/testing.md b/doc/testing.md index bf70cdcce7..e5d035d90e 100644 --- a/doc/testing.md +++ b/doc/testing.md @@ -183,12 +183,6 @@ To start the debugger on failure, add the `--pdb` option: To run tests faster by not collecting static files, you can use `rake fasttest_acceptance_lms` and `rake fasttest_acceptance_cms`. - -**Troubleshooting**: If you get an error message that says something about harvest not being a command, you probably are missing a requirement. -Try running: - - rake install_prereqs - **Note**: The acceptance tests can *not* currently run in parallel. ## Viewing Test Coverage