Bienvenidos, disfruten este curso.
Introducción
Todo lo que aprenderás sobre testing con PHP y Laravel
La función del testing
PHPUnit en Laravel
Unit y Feature
Conceptos
El resultado
Probar un Helper
Accessors y Mutators
Método personalizado
Carga de archivos
Carga de archivos desde el navegador
Refactorización
Validación
Database
Proyecto
TDD
¿Qué vamos a construir?
Testing HTTP
Testing HTTP: vista con datos
Nuevo registro
Eliminar registro
Validación
Probando desde el navegador
Añadiendo estilos con Tailwind CSS
Aplicando pruebas unitarias a cambios
Conclusión
Repaso final y despedida
In this course, you will learn about software testing within the Laravel framework, using PHP Unit. To get the most out of this course, it is essential that you already have a basic knowledge of Laravel. If you have not yet taken the introductory courses, I encourage you to complete them, as we cover key concepts that are assumed to be familiar during this training.
Laravel is a robust and elegant framework that makes it easy for you to develop web applications. Within Laravel, we visualize its architecture as a system of layers, in one of which, are the tests essential to ensure the quality and functionality of the code. Having a clear understanding of this structure is crucial to advance in the course.
PHP Unit is the central tool that we will use for testing in Laravel. It is a unit testing framework for PHP that helps us automate the verification that our code works as expected, eliminating the need to manually check every change in the browser.
There are two main commands that we will use during the course:
Vendor bin phpunit: This is a PHP Unit command that allows you to run all the tests within a Laravel project, showing you immediately if the whole system is working as it should.
PHP artisan test: This is a Laravel's own command designed to work together with PHP Unit. It offers a more direct integration with the framework, so it will be the main method we will use.
Automating tests is a crucial step in modern development. It allows us to:
By the end of this course, you will not only have improved your technical skills, but you will also have optimized your workflow to develop more robust and reliable software. Go ahead and succeed in your learning!
Contributions 16
Questions 1
Bienvenidos, disfruten este curso.
Los testing uno de mis archirrivales mas antiguos … ya es hora de superarlo.
Espero aprender mucho que de este tema, no tengo nada de conocimiento!
Woohooo! Un curso de testing, desarrollar un sistema bajo testing es muy importante, la metodología de Test Driven Development ayuda a que tengas un código de mjor calidad.
.
Y de hecho algo cursoso es que esta metodología se usa en otros cursos de Platzi, por ejemplo, en el Curso de creación de Lenguajes de Programación se usa mucho TDD. Go ahead!
Tengo muchas expectativas de este curso. Complemento del “Curso de Introducción a Laravel”
Recuerdo cuando un amigo decia que Italo no era bueno, porque solo subia el contenido en youtube, PUES COMO LA VES ANDRES !!! mira el best profesor de laravel de platzi jajaja xD
A darle! no se rajen gente y animo!
Espero mucho de éste curso, vamos a darle.
Genial, esperaba este curso. Estoy al debe con los test en Laravel 😅
Con alta espectativa iniciando este curso
Empezamos con lo de Testing
Vamos con toda testing con PHP y Laravel…
Iniciado…
Este profe sabe mucho , lo he seguido en youtube ahora en platzi lo seguire
Iniciando
Want to see more contributions, questions and answers from the community?