Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 7e565cd7
authored
Jul 30, 2013
by
Daniel Durante
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated README for mocha tests.
1 parent
9f7cd186
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
README.md
README.md
View file @
7e565cd
...
...
@@ -139,30 +139,27 @@ $ npm install
### 4. Run the tests ###
Right now, the test base is split into the
`
spec
`
folder (which contains the
lovely
[
BusterJS
](
http://busterjs.org
)
tests).
Right now, the test base is split into the
`
test
`
folder (which contains the
lovely
[
Mocha
](
http://visionmedia.github.io/mocha/
)
tests).
As you might haven't installed all of the supported SQL dialects, here is how
to run the test suites for your development environment:
```
console
$
#
run all tests at once:
$
npm
test
$
#
run all of the buster specs (for all dialects):
$
npm
run test-buster
$
make
all
$
#
run the buster specs for mysql:
$
npm
run test-buster-
mysql
$
make
mysql
$
#
run the buster specs for sqlite:
$
npm
run test-buster-
sqlite
$
make
sqlite
$
#
run the buster specs for postgresql:
$
npm
run test-buster-postgres
$
make
pgsql
$
#
alternatively you can pass database credentials with $variables when testing
with buster.js
$
DIALECT=dialect
SEQ_DB=database SEQ_USER=user SEQ_PW=password
buster-
test
$
#
alternatively you can pass database credentials with $variables when testing
$
DIALECT=dialect
SEQ_DB=database SEQ_USER=user SEQ_PW=password
make
test
```
### 5. That's all ###
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment