Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
benblub committed Apr 28, 2021
1 parent 384729a commit f704d13
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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 [<entity>]`

0 comments on commit f704d13

Please sign in to comment.