From 4bd5fe16df2b660db6e756ac1cab475e07792534 Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Tue, 29 Apr 2025 23:18:18 -0400 Subject: [PATCH] Comandos para correr pruebas y consola --- app/bin/console | 3 +++ app/bin/integration_tests | 3 +++ app/bin/performance_tests | 3 +++ app/bin/unit_tests | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 app/bin/console create mode 100644 app/bin/integration_tests create mode 100644 app/bin/performance_tests create mode 100644 app/bin/unit_tests diff --git a/app/bin/console b/app/bin/console new file mode 100644 index 0000000..84821a2 --- /dev/null +++ b/app/bin/console @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +php -d auto_prepend_file=test.bootstrap.php -a diff --git a/app/bin/integration_tests b/app/bin/integration_tests new file mode 100644 index 0000000..e113cb6 --- /dev/null +++ b/app/bin/integration_tests @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +bin/phpunit --testsuite acceptance $@ \ No newline at end of file diff --git a/app/bin/performance_tests b/app/bin/performance_tests new file mode 100644 index 0000000..211dd53 --- /dev/null +++ b/app/bin/performance_tests @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +bin/phpunit --testsuite performance $@ \ No newline at end of file diff --git a/app/bin/unit_tests b/app/bin/unit_tests new file mode 100644 index 0000000..40dc00b --- /dev/null +++ b/app/bin/unit_tests @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +./bin/phpunit --testsuite unit $@ \ No newline at end of file