Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
9a13c8b8
Commit
9a13c8b8
authored
Aug 20, 2012
by
Mark L. Chang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notes on lettuce testing
parent
306f0d05
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
lms/djangoapps/acceptance_testing/README.md
+11
-0
lms/envs/acceptance_testing.py
+11
-2
No files found.
lms/djangoapps/acceptance_testing/README.md
0 → 100644
View file @
9a13c8b8
## acceptance_testing
This fake django app is here to support acceptance testing using lettuce + selenium. Some documentation for our efforts are located in basecamp: https://basecamp.com/1892446/projects/841513-release/documents/1015202-staging-tests
Running all lettuce tests
```
django-admin.py harvest --settings=lms.envs.acceptance_testing --pythonpath=. --no-server```
Running a single lettuce feature
```
django-admin.py harvest --settings=lms.envs.acceptance_testing --pythonpath=. --no-server lms/djangoapps/acceptance_testing/features/homepage.feature
```
lms/envs/acceptance_testing.py
View file @
9a13c8b8
...
@@ -6,6 +6,11 @@ sessions. Assumes structure:
...
@@ -6,6 +6,11 @@ sessions. Assumes structure:
/db # This is where it'll write the database file
/db # This is where it'll write the database file
/mitx # The location of this repo
/mitx # The location of this repo
/log # Where we're going to write log files
/log # Where we're going to write log files
AUG 20 2012 [mchang]:
copied from lms.envs.dev
modified to include custom 'acceptance_testing' djangoapp
modified to include lettuce django connection
"""
"""
from
.common
import
*
from
.common
import
*
from
.logsettings
import
get_logger_config
from
.logsettings
import
get_logger_config
...
@@ -92,8 +97,6 @@ MITX_FEATURES['AUTH_USE_MIT_CERTIFICATES'] = True
...
@@ -92,8 +97,6 @@ MITX_FEATURES['AUTH_USE_MIT_CERTIFICATES'] = True
################################ DEBUG TOOLBAR #################################
################################ DEBUG TOOLBAR #################################
INSTALLED_APPS
+=
(
'debug_toolbar'
,)
INSTALLED_APPS
+=
(
'debug_toolbar'
,)
INSTALLED_APPS
+=
(
'acceptance_testing'
,)
INSTALLED_APPS
+=
(
'lettuce.django'
,)
MIDDLEWARE_CLASSES
+=
(
'debug_toolbar.middleware.DebugToolbarMiddleware'
,)
MIDDLEWARE_CLASSES
+=
(
'debug_toolbar.middleware.DebugToolbarMiddleware'
,)
INTERNAL_IPS
=
(
'127.0.0.1'
,)
INTERNAL_IPS
=
(
'127.0.0.1'
,)
...
@@ -129,3 +132,9 @@ FILE_UPLOAD_HANDLERS = (
...
@@ -129,3 +132,9 @@ FILE_UPLOAD_HANDLERS = (
########################### PIPELINE #################################
########################### PIPELINE #################################
PIPELINE_SASS_ARGUMENTS
=
'-r {proj_dir}/static/sass/bourbon/lib/bourbon.rb'
.
format
(
proj_dir
=
PROJECT_ROOT
)
PIPELINE_SASS_ARGUMENTS
=
'-r {proj_dir}/static/sass/bourbon/lib/bourbon.rb'
.
format
(
proj_dir
=
PROJECT_ROOT
)
########################### LETTUCE TESTING ##########################
LETTUCE_APPS
=
(
'acceptance_testing'
,)
INSTALLED_APPS
+=
(
'acceptance_testing'
,)
INSTALLED_APPS
+=
(
'lettuce.django'
,)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment