Toggle navigation
Toggle navigation
This project
Loading...
Sign in
qingger
/
allProject
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
shipfi@thinkpad
2016-09-11 11:55:05 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ade8f82ec63989e9a08a19b78d4a3017467b5127
ade8f82e
1 parent
7c286b90
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
Docs/GITBOOK/CodeHelping/UnitTesting/PHPUnit/Config_Test_Database_In_Laravel.md
Docs/GITBOOK/CodeHelping/UnitTesting/PHPUnit/phpunit_manual.md
Docs/GITBOOK/CodeHelping/UnitTesting/PHPUnit/Config_Test_Database_In_Laravel.md
View file @
ade8f82
...
...
@@ -43,3 +43,10 @@ DBT_PASSWORD=secret</code></pre>
<
/php
>
</code></pre>
<p>
With this configuration in place, Laravel will now know which database should be used when your tests
<a
href=
"http://laravel.com/docs/master/testing#working-with-databases"
>
interact with a database
</a>
.
</p>
-----
最后,如果是使PhpStorm工具的话,需要在:
File->Setting->Languages&Frameworks->PhpUnit中指定phpunit.xml文件。
!
[
](http://58.216.158.26:8099/qingger/allProject/raw/7c286b90d81f496a7ce527818f12d38c161e27f5/Resources/images/0000001.png)
\ No newline at end of file
...
...
Docs/GITBOOK/CodeHelping/UnitTesting/PHPUnit/phpunit_manual.md
0 → 100644
View file @
ade8f82
# PHPUnit手册 #
---
Please
register
or
login
to post a comment