Skip to content

Commit

Permalink
Merge pull request #180 from NdagiStanley/develop
Browse files Browse the repository at this point in the history
Update testing on the boilerplate
  • Loading branch information
NdagiStanley committed May 11, 2018
2 parents 363ccf0 + 3f2a6c0 commit 5e87103
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion template/app/tests.py
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.
Expand Down
32 changes: 16 additions & 16 deletions vue-cli-interaction.exp
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
}

0 comments on commit 5e87103

Please sign in to comment.