Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local testing #21

Closed
eaglemoor opened this issue Jun 16, 2016 · 1 comment
Closed

Local testing #21

eaglemoor opened this issue Jun 16, 2016 · 1 comment

Comments

@eaglemoor
Copy link
Contributor

Try test local:

$ make test_mattn_go-sqlite3
rm -f reform-test.sqlite3
sqlite3 -bail reform-test.sqlite3 < internal/test/sql/sqlite3_init.sql
sqlite3 -bail reform-test.sqlite3 < internal/test/sql/data.sql
sqlite3 -bail reform-test.sqlite3 < internal/test/sql/sqlite3_set.sql
go test -coverprofile=test_mattn_go-sqlite3.cover
# reform
package reform_test
    imports github.com/AlekSi/reform/internal/test/models: use of internal package not allowed
FAIL    reform [setup failed]
make: *** [test_mattn_go-sqlite3] Error 1
@eaglemoor
Copy link
Contributor Author

Try test in $GOPATH/reform

But in $GOPATH/github.com/AlekSi/reform All work good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant