mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 22:15:42 +02:00
bats: add Spanish translation (#12350)
* bats: add Spanish translation --------- Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com>
This commit is contained in:
parent
44b2a18373
commit
13f434bf32
1 changed files with 20 additions and 0 deletions
20
pages.es/common/bats.md
Normal file
20
pages.es/common/bats.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# bats
|
||||
|
||||
> Bash Automated Testing System: un marco de pruebas compatible con TAP (<https://testanything.org/>) para Bash.
|
||||
> Más información: <https://bats-core.readthedocs.io/en/stable/usage.html>.
|
||||
|
||||
- Ejecuta un guión de prueba BATS y emite los resultados en el formato TAP (Test Anything Protocol):
|
||||
|
||||
`bats --tap {{ruta/a/prueba.bats}}`
|
||||
|
||||
- Cuenta los casos de prueba de un guión de prueba sin ejecutar ninguna prueba:
|
||||
|
||||
`bats --count {{ruta/a/prueba.bats}}`
|
||||
|
||||
- Ejecuta casos de prueba BATS en un directorio y sus subdirectorios (archivos con extensión `.bats`):
|
||||
|
||||
`bats --recursive {{ruta/al/directorio}}`
|
||||
|
||||
- Obtén resultados en un formato específico:
|
||||
|
||||
`bats --formatter {{pretty|tap|junit}} {{ruta/a/prueba.bats}}`
|
Loading…
Add table
Reference in a new issue