Diferencia entre revisiones de «Generador de curso de prueba»

De MoodleDocs
(added page)
 
(tidy up)
 
(No se muestra una edición intermedia del mismo usuario)
Línea 1: Línea 1:
{{EnTraduccion}}
{{Pendiente de traducir}}
(This in only available from 2.5.2+ (Build: 20131004) onwards)
{{Herramientas para desarrolladores}}
(Esto solamente está disponible para Moodle 2.5.2+ (Build: 20131004) en adelante)


If you want a large course for testing performance or reliability of a feature (where its behaviour might depend on the size of a course), you can generate standard-sized test courses using the generator tool.
Si Usted quiere un curso grande para probar el [[Desempeño]] o la confiabilidad de una característica (en donde su comportamiento podría depender del tamaño de un curso), Usted puede generar cursos de prueba de tamaño estándar usando la herramienta generadora.


== Requisitos ==
== Requisitos ==


This tool is for developer use only and should not be used on a live site. It is disabled unless you set the debugging option to DEVELOPER.
Esta herramienta es solamente para uso por desarrolladores y no debería de emplearse en un sitio vivo. Está deshabilitada a menos que la depuración (''debugging'') se configure a DESARROLLADOR (''DEVELOPER'').


== Encontrar la herramienta generadora ==
== Encontrar la herramienta generadora ==


The tool is in the administration menu under Development / Make test course.
La herramienta está en el menú del Administrador debajo de Desarrollo > Hacer curso de prueba


== Uso de la herramienta ==
== Uso de la herramienta ==

Revisión actual - 17:05 16 jun 2015

Nota: Pendiente de Traducir. ¡Anímese a traducir esta página!.     ( y otras páginas pendientes)

(Esto solamente está disponible para Moodle 2.5.2+ (Build: 20131004) en adelante)

Si Usted quiere un curso grande para probar el Desempeño o la confiabilidad de una característica (en donde su comportamiento podría depender del tamaño de un curso), Usted puede generar cursos de prueba de tamaño estándar usando la herramienta generadora.

Requisitos

Esta herramienta es solamente para uso por desarrolladores y no debería de emplearse en un sitio vivo. Está deshabilitada a menos que la depuración (debugging) se configure a DESARROLLADOR (DEVELOPER).

Encontrar la herramienta generadora

La herramienta está en el menú del Administrador debajo de Desarrollo > Hacer curso de prueba

Uso de la herramienta

To use the tool, select a size and type a shortname. The shortname should be one that is not in use. (If you type one that's in use, it will tell you.)

The tool shows an estimate of how large the created course will be and how long it will take to create. These are rough estimates.

  • The 'M' course size (100 sections) is similar to a typical course at a large institution. This is useful for testing performance under normal conditions.
  • The 'XL' course is very large and is suitable for testing reliability under extreme conditions.

Options

  • Shortname: The course shortname (required)
  • Size: The size of the generated site. Accepted values: XS, S, M, L, XL, or XXL (required)

Versión de CLI (Intefraz por Línea de Comando)

You can run the tool from the command-line using:

php admin/tool/generator/cli/maketestcourse.php

This will show command-line options.

Opciones

Adding to the options mentioned above the CLI command has a few more.

  • Use a fixed dataset: Use a fixed data set instead of randomly generated data, useful for generating a standard data set
  • Specify a file size limit: Limits the size of the generated files to the specified number of bytes, you may find this setting useful because depending on the size you select the courses can use too much disk space
  • By pass check: Bypasses the developer-mode check
  • Quiet: Do not show any output