fixtures

Como se describió anteriormente, un fixture puede depender de otros fixtures.
As we described earlier, a fixture may depend on other fixtures.
Para grandes cargas de producción, los fixtures se cargan automáticamente.
For large production runs, the substrate holders are loaded automatically.
Yii puede también autogenerar fixtures por ti basándose en algún template.
Yii also can auto-generate fixtures for you based on some template.
Ya hemos creado algunos datos iniciales en el directorio data/fixtures/.
We have already created some initial data in the data/fixtures/ directory.
Hay un conjunto de datos de prueba en askeet/data/fixtures/.
There is a set of test data in askeet/data/fixtures/.
Puedes generar tus fixtures con distintos datos en diferentes lenguajes y formatos.
You can generate your fixtures with different data on different languages and formats.
Auto-generar fixtures y poblarlos con datos al azar.
Auto-generating fixtures and populating it with random data.
Para las pruebas, pondremos los datos en el directorio test/fixtures/.
For tests, we will put the fixtures into the test/fixtures/ directory.
Puedes cargar varios fixtures de una sola vez.
You can load several fixtures at once.
Un fixture puede depender de otros fixtures, especificándolo en su propiedad yii\test\Fixture::$depends.
A fixture may depend on other fixtures, specified via its yii\test\Fixture::$depends property.
Yii soporta fixtures a través de la herramienta de línea de comandos yii fixture.
Yii supports fixtures via the yii fixture command line tool.
Afortunadamente, Doctrine 2 tiene una biblioteca para ayudarle a escribir fixtures para el Doctrine ORM.
Fortunately, Doctrine 2 has a library to help you write fixtures for the Doctrine ORM.
Un concepto clave en el framework de fixtures de Yii es el llamado objeto fixture.
A key concept in the Yii fixture framework is the so-called fixture object.
Nota: En el ejemplo de arriba los archivos de fixtures son nombrados así solo como ejemplo.
Note: In the example above fixture files are named only for example purpose.
Descargar fixtures de diferentes maneras (usualmente limpiando el almacenamiento);
Unloading fixtures in different ways (usually it is clearing storage);
Puedes excluir algunos fixtures para carga o descarga especificando - antes de su nombre, por ejemplo -User.
You can exclude some fixtures due load or unload by specifying - before its name like -User.
Sería entonces un esfuerzo doble tener que definir la tabla y/o los registros en tus fixtures.
It would be then a duplicate effort to have to define the table definition and/or records on your fixtures.
Nos hará falta un directorio para los ficheros de las fixturas, por lo que crearemos uno en /spec/javascript/fixtures.
We're going need a directory for the fixture files so we'll create one at /spec/javascript/fixtures.
La creación de tres grupos significa que más equipos pueden participar y disminuir la posibilidad de fixtures sin sentido.
The creation of three groups means that more teams can participate and lessen the chance of meaningless fixtures.
Antes del recubrimiento, las piezas se cargan en fixtures intercambiables y se introducen en el sistema de recubrimiento.
Before coating, the parts are loaded into interchangeable substrate holders and then inserted into the coating system.
Word of the Day
to predict