From f704d13a83179457e5b53b28e951fae3a9da385e Mon Sep 17 00:00:00 2001 From: benjaminknecht Date: Wed, 28 Apr 2021 22:40:48 +0200 Subject: [PATCH] add docs --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f46e055..95c867d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ # ftg -A Functional Test Generator +A Functional Test Generator for Api Projects using Api-Platform + +### Install +`composer require benblub/ftg "dev-main"` + +### Config Api Platform / Symfony +There is not autoconfig yet.. + +add to `config/bundles.php` +``` +Benblub\Ftg\BenblubFtgBundle::class => ['dev' => true, 'test' => true], +``` + +add in `services.yaml` +``` + Benblub\Ftg\Bundle\Maker\MakeFunctionalTest: + tags: ['maker.command'] +``` + +## Use +`php bin/console make:ftg` +`php bin/console make:ftg []` \ No newline at end of file