Skip to content

Commit 66c47d8

Browse files
committed
update readme
1 parent 39d5a90 commit 66c47d8

File tree

4 files changed

+96
-83
lines changed

4 files changed

+96
-83
lines changed

docs/README.de.md

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
# Test-Driven-Development-Übung mit JavaScript
22

3-
**KeepCoding Projects - Web 18**
4-
Detaillierte Liste der Repositories und Beschreibungen in 📁 [repos-kc-web-18.md](https://github.com/pablo-sch/pablo-sch/blob/main/docs/repos-kc-web-18.md)
3+
`>` **KeepCoding Projekte - Web 18:** 📁 [repos-kc-web-18.md](https://github.com/pablo-sch/pablo-sch/blob/main/docs/repos-kc-web-18.md)
54

6-
## Wähle deine Sprache
7-
8-
- 🇺🇸 [Englisch](README.md)
9-
- 🇪🇸 [Spanisch](README.es.md)
5+
`>` **Wähle deine Sprache:** [Englisch](README.md) 🔄 [Spanish](README.es.md)
106

117
<!-- ------------------------------------------------------------------------------------------- -->
128

@@ -25,15 +21,18 @@ Tests sind unerlässlich, um Fehler vor dem Deployment zu erkennen, Vertrauen in
2521
### Testarten
2622

2723
#### 1. Externe Tests (End-to-End)
24+
2825
- Manuell: Ein Tester überprüft das Verhalten der Anwendung visuell anhand vordefinierter Schritte.
2926
- Automatisiert: Simulieren Benutzerinteraktionen, um das Verhalten nach Codeänderungen zu validieren.
3027

3128
#### 2. Funktionale Tests
29+
3230
- Unit-Tests: Testen einzelne Funktionen oder Module isoliert.
3331
- Integrationstests: Prüfen das Zusammenspiel mehrerer Komponenten.
3432
- End-to-End: Simulieren vollständige Nutzerabläufe, um die Gesamtfunktionalität der Anwendung sicherzustellen.
3533

3634
#### 3. Nicht-funktionale Tests
35+
3736
- Sicherheit: Erkennen Schwachstellen und prüfen den Schutz sensibler Daten.
3837
- Leistung: Messen Antwortzeiten und Verhalten unter Last.
3938
- Benutzerfreundlichkeit: Analysieren die reale Nutzererfahrung in der Oberfläche.
@@ -63,45 +62,49 @@ TODO
6362

6463
## Verwendete Technologien
6564

66-
### Sprachen
67-
68-
- **JavaScript**: Um der Website Interaktivität und dynamische Funktionen hinzuzufügen, wodurch die Benutzererfahrung durch Funktionen wie Formularvalidierung, Animationen und Event-Handling verbessert wird.
69-
70-
### Abhängigkeiten
71-
72-
- babel
73-
- jest
74-
- axios
65+
- **Sprachen:** JavaScript.
66+
- **Bemerkenswerte Abhängigkeiten (Node.js):** Babel, Jest und Axios.
7567

7668
<!-- ------------------------------------------------------------------------------------------- -->
7769

78-
## Installations- und Gebrauchsanweisungen
70+
## Installations- und Nutzungshinweise
7971

80-
### Softwareanforderungen
72+
### 1. Softwareanforderungen
8173

74+
- **[Node.js](https://nodejs.org/en/download/)** (getestet mit Version **v22.15.1**)
8275
- **[Git](https://git-scm.com/downloads)** (getestet mit Version **2.47.1.windows.1**)
8376
- **[Visual Studio Code](https://code.visualstudio.com/)** (getestet mit Version **1.99.0**)
8477

85-
### Klonen des Repositories
86-
87-
Projekt
78+
### 2. Repository-Klonen
8879

8980
```bash
90-
`git clone https://github.com/pablo-sch/keepcoding-09-TDD-with-javascript.git`
81+
git clone https://github.com/pablo-sch/keepcoding-09-TDD-with-javascript.git
9182
```
9283

93-
Demo
84+
`>` **Klon-Demo in VSCode ansehen:** 🎥 [Gif Demo](https://github.com/pablo-sch/pablo-sch/blob/main/etc/clone-tutorial.gif)
9485

95-
![Demo](https://github.com/pablo-sch/pablo-sch/blob/main/etc/clone-tutorial.gif)
86+
### 3. Befehle
9687

97-
<!-- ------------------------------------------------------------------------------------------- -->
88+
```sh
89+
# Installiere die Projektabhängigkeiten.
90+
npm install
9891

99-
## Projektvorschau
92+
# Führe Tests einmalig mit Jest aus.
93+
npm test
10094

101-
Keine
95+
# Führe Tests im Beobachtungsmodus aus, nur betroffene Tests.
96+
npm test:watch
10297

103-
<!-- ------------------------------------------------------------------------------------------- -->
98+
# Führe alle Tests im Beobachtungsmodus aus.
99+
npm test:watchAll
100+
101+
# Zeige die Liste der Testdateien an.
102+
npm test:list
103+
104+
# Führe Tests aus und zeige Ergebnisse im JSON-Format.
105+
npm test:json
106+
```
104107

105-
## Beiträge und Lizenzen
108+
## Beiträge und Lizenzierung
106109

107-
Dieses Projekt enthält keine externen Beiträge oder Lizenzen.
110+
Projekt unter MIT-Lizenz. Frei zur Nutzung und Verbreitung mit Namensnennung. Externe Beiträge werden nicht akzeptiert, aber Vorschläge sind willkommen.

docs/README.es.md

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
# Ejercicio de Test-Driven Development con JavaScript
22

3-
**Proyectos KeepCoding - Web 18**
4-
Consulta la lista completa de repositorios y descripciones en 📁 [repos-kc-web-18.md](https://github.com/pablo-sch/pablo-sch/blob/main/docs/repos-kc-web-18.md)
3+
`>` **Proyectos KeepCoding - Web 18:** 📁 [repos-kc-web-18.md](https://github.com/pablo-sch/pablo-sch/blob/main/docs/repos-kc-web-18.md)
54

6-
## Selecciona tu idioma
7-
8-
- 🇺🇸 [Inglés](README.md)
9-
- 🇩🇪 [Alemán](README.de.md)
5+
`>` **Selecciona tu Idioma:** [Inglés](README.md) 🔄 [Alemán](README.de.md)
106

117
<!-- ------------------------------------------------------------------------------------------- -->
128

@@ -25,15 +21,18 @@ Las pruebas son fundamentales para detectar errores antes del despliegue, aument
2521
### Tipos de Pruebas
2622

2723
#### 1. Pruebas Externas (End-to-End)
24+
2825
- Manuales: El tester verifica visualmente el comportamiento de la aplicación siguiendo pasos definidos.
2926
- Automáticas: Simulan interacciones del usuario para validar el funcionamiento tras cambios de código.
3027

3128
#### 2. Pruebas Funcionales
29+
3230
- Unitarias: Evalúan funciones o módulos individuales de forma aislada.
3331
- De integración: Comprueban que múltiples componentes funcionen correctamente en conjunto.
3432
- End-to-End: Simulan flujos completos del usuario para garantizar el correcto funcionamiento de la aplicación.
3533

3634
#### 3. Pruebas No Funcionales
35+
3736
- Seguridad: Detectan vulnerabilidades y validan la protección de datos sensibles.
3837
- Rendimiento: Evalúan tiempos de respuesta y comportamiento bajo carga.
3938
- Usabilidad: Analizan la experiencia real del usuario en la interfaz.
@@ -63,45 +62,49 @@ TODO
6362

6463
## Tecnologías utilizadas
6564

66-
### Lenguajes
67-
68-
- **JavaScript**: para agregar interactividad y características dinámicas al sitio web, mejorando la experiencia del usuario con funcionalidades como validación de formularios, animaciones y manejo de eventos.
69-
70-
### Dependencias
71-
72-
- babel
73-
- jest
74-
- axios
65+
- **Lenguajes:** JavaScript.
66+
- **Dependencias a destacar (Node.js):** Babel, Jest y Axios.
7567

7668
<!-- ------------------------------------------------------------------------------------------- -->
7769

7870
## Instrucciones de instalación y uso
7971

80-
### Requisitos de software
72+
### 1. Requisitos de Software
8173

74+
- **[Node.js](https://nodejs.org/en/download/)** (testeado en la versión **v22.15.1**)
8275
- **[Git](https://git-scm.com/downloads)** (testeado en la versión **2.47.1.windows.1**)
8376
- **[Visual Studio Code](https://code.visualstudio.com/)** (testeado en la versión **1.99.0**)
8477

85-
### Clonación del repositorio
86-
87-
Proyecto
78+
### 2. Clonación del Repositorio
8879

8980
```bash
90-
`git clone https://github.com/pablo-sch/keepcoding-09-TDD-with-javascript.git`
81+
git clone https://github.com/pablo-sch/keepcoding-09-TDD-with-javascript.git
9182
```
9283

93-
Demo
84+
`>` **Ver Demo de Clonanción en VSCode:** 🎥 [Gif Demo](https://github.com/pablo-sch/pablo-sch/blob/main/etc/clone-tutorial.gif)
9485

95-
![Demo](https://github.com/pablo-sch/pablo-sch/blob/main/etc/clone-tutorial.gif)
86+
### 3. Comandos
9687

97-
<!-- ------------------------------------------------------------------------------------------- -->
88+
```sh
89+
# Instala las dependencias del proyecto.
90+
npm install
9891

99-
## Vista previa del proyecto
92+
# Ejecuta las pruebas con Jest una vez.
93+
npm test
10094

101-
Ninguna
95+
# Ejecuta las pruebas en modo observación, corre solo las afectadas.
96+
npm test:watch
10297

103-
<!-- ------------------------------------------------------------------------------------------- -->
98+
# Ejecuta todas las pruebas en modo observación.
99+
npm test:watchAll
100+
101+
# Muestra la lista de archivos de prueba.
102+
npm test:list
103+
104+
# Ejecuta las pruebas y muestra el resultado en formato JSON.
105+
npm test:json
106+
```
104107

105108
## Contribuciones y licencias
106109

107-
Este proyecto no cuenta con contribuciones externas ni licencias.
110+
Proyecto bajo licencia MIT. Uso y distribución libres con atribución. No se aceptan contribuciones externas, pero las sugerencias son bienvenidas.

docs/README.md

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
# Test-Driven Development Exercise with JavaScript
22

3-
**KeepCoding Projects - Web 18**
4-
Check the full list of repositories and descriptions in 📁 [repos-kc-web-18.md](https://github.com/pablo-sch/pablo-sch/blob/main/docs/repos-kc-web-18.md)
3+
`>` **KeepCoding Projects - Web 18:** 📁 [repos-kc-web-18.md](https://github.com/pablo-sch/pablo-sch/blob/main/docs/repos-kc-web-18.md)
54

6-
## Select your language
7-
8-
- 🇪🇸 [Spanish](README.es.md)
9-
- 🇩🇪 [German](README.de.md)
5+
`>` **Select your Language:** [Spanish](README.es.md) 🔄 [German](README.de.md)
106

117
<!-- ------------------------------------------------------------------------------------------- -->
128

@@ -25,15 +21,18 @@ Testing is essential to detect bugs before deployment, increase confidence in th
2521
### Types of Tests
2622

2723
#### 1. External Tests (End-to-End)
24+
2825
- Manual: A tester visually verifies the application's behavior following predefined steps.
2926
- Automated: Simulate user interactions to validate behavior after code changes.
3027

3128
#### 2. Functional Tests
29+
3230
- Unit: Evaluate individual functions or modules in isolation.
3331
- Integration: Check that multiple components work correctly together.
3432
- End-to-End: Simulate complete user flows to ensure the application functions as expected.
3533

3634
#### 3. Non-Functional Tests
35+
3736
- Security: Detect vulnerabilities and validate the protection of sensitive data.
3837
- Performance: Evaluate response times and behavior under load.
3938
- Usability: Analyze real user experience within the interface.
@@ -63,45 +62,49 @@ TODO
6362

6463
## Technologies Used
6564

66-
### Languages
67-
68-
- **JavaScript**: To add interactivity and dynamic features to the website, improving the user experience with functionalities such as form validation, animations, and event handling.
69-
70-
### Dependencies
71-
72-
- babel
73-
- jest
74-
- axios
65+
- **Languages:** JavaScript.
66+
- **Notable Dependencies (Node.js):** Babel, Jest, and Axios.
7567

7668
<!-- ------------------------------------------------------------------------------------------- -->
7769

7870
## Installation and Usage Instructions
7971

80-
### Software Requirements
72+
### 1. Software Requirements
8173

74+
- **[Node.js](https://nodejs.org/en/download/)** (tested on version **v22.15.1**)
8275
- **[Git](https://git-scm.com/downloads)** (tested on version **2.47.1.windows.1**)
8376
- **[Visual Studio Code](https://code.visualstudio.com/)** (tested on version **1.99.0**)
8477

85-
### Cloning the Repository
86-
87-
Proyect
78+
### 2. Repository Cloning
8879

8980
```bash
90-
`git clone https://github.com/pablo-sch/keepcoding-09-TDD-with-javascript.git`
81+
git clone https://github.com/pablo-sch/keepcoding-09-TDD-with-javascript.git
9182
```
9283

93-
Demo
84+
`>` **View Cloning Demo in VSCode:** 🎥 [Gif Demo](https://github.com/pablo-sch/pablo-sch/blob/main/etc/clone-tutorial.gif)
9485

95-
![Demo](https://github.com/pablo-sch/pablo-sch/blob/main/etc/clone-tutorial.gif)
86+
### 3. Commands
9687

97-
<!-- ------------------------------------------------------------------------------------------- -->
88+
```sh
89+
# Install project dependencies.
90+
npm install
9891

99-
## Project Preview
92+
# Run tests once with Jest.
93+
npm test
10094

101-
None
95+
# Run tests in watch mode, only affected tests.
96+
npm test:watch
10297

103-
<!-- ------------------------------------------------------------------------------------------- -->
98+
# Run all tests in watch mode.
99+
npm test:watchAll
100+
101+
# Show the list of test files.
102+
npm test:list
103+
104+
# Run tests and output results in JSON format.
105+
npm test:json
106+
```
104107

105108
## Contributions and Licensing
106109

107-
This project does not include external contributions or licenses.
110+
Project licensed under the MIT License. Free to use and distribute with attribution. External contributions are not accepted, but suggestions are welcome.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,9 @@
3737
},
3838
"dependencies": {
3939
"axios": "^1.9.0"
40+
},
41+
"engines": {
42+
"node": ">=22.15.1",
43+
"npm": ">=11.4.0"
4044
}
4145
}

0 commit comments

Comments
 (0)