-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from NdagiStanley/develop
Update testing on the boilerplate
- Loading branch information
Showing
2 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from django.test import TestCase | ||
|
||
from views import index | ||
from app.views import index | ||
|
||
|
||
# Create your tests here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
#!/usr/bin/expect | ||
#!/usr/bin/expect -f | ||
set timeout 360 | ||
|
||
spawn vue init NdagiStanley/vue-django my-project | ||
|
||
expect "Project name" { send "\n" } | ||
expect "Project version" { send "\n" } | ||
expect "Project description" { send "\n" } | ||
expect "Author" { send "\n" } | ||
expect "private" { send "\n" } | ||
expect "Vue build" { send "\n" } | ||
expect "Install vue-router?" { send "\n" } | ||
expect "Use ESLint to lint your code?" { send "\n" } | ||
expect "Pick an ESLint preset" { send "\n" } | ||
expect "Setup unit tests" { send "\n" } | ||
expect "Pick a test runner" { send "\n" } | ||
expect "Setup e2e tests with Nightwatch?" { send "\n" } | ||
|
||
interact | ||
expect { | ||
"Project name" { send "\n"; exp_continue } | ||
"Project version" { send "\n"; exp_continue } | ||
"Project description" { send "\n"; exp_continue } | ||
"Author" { send "\n"; exp_continue } | ||
"private" { send "\n"; exp_continue } | ||
"Vue build" { send "\n"; exp_continue } | ||
"Install vue-router?" { send "\n"; exp_continue } | ||
"Use ESLint to lint your code?" { send "\n"; exp_continue } | ||
"Pick an ESLint preset" { send "\n"; exp_continue } | ||
"Setup unit tests" { send "\n"; exp_continue } | ||
"Pick a test runner" { send "\n"; exp_continue } | ||
"Setup e2e tests with Nightwatch?" { send "\n"; exp_continue } | ||
eof | ||
} |