Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
8a5b131e
Commit
8a5b131e
authored
Feb 03, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc fix.
parent
ccae78ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
console-fixture.md
docs/guide/console-fixture.md
+5
-3
No files found.
docs/guide/console-fixture.md
View file @
8a5b131e
Fixtures console flow
Managing Fixtures
=====================
=================
// todo: this tutorial may be merged into test-fixture.md
Fixtures are important part of testing. Their main purpose is to populate you with data that needed by testing
Fixtures are important part of testing. Their main purpose is to populate you with data that needed by testing
different cases. With this data using your tests becoming more efficient and useful.
different cases. With this data using your tests becoming more efficient and useful.
Yii supports fixtures via the
`yii fixture`
command line tool. This tool supports:
Yii supports fixtures via the
`yii fixture`
command line tool. This tool supports:
*
Loading fixtures to different storage
s such as: database, nosql
, etc;
*
Loading fixtures to different storage
such as: RDBMS, NoSQL
, etc;
*
Unloading fixtures in different ways (usually it is clearing storage);
*
Unloading fixtures in different ways (usually it is clearing storage);
*
Auto-generating fixtures and populating it with random data.
*
Auto-generating fixtures and populating it with random data.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment