Skip to content

Commit

Permalink
Merge pull request #9 from vitorccs/feature/refactor_tests
Browse files Browse the repository at this point in the history
refatora testes para usar Data Providers e dados de phpunit.xml
  • Loading branch information
vitorccs authored Jun 1, 2021
2 parents 8aa4159 + 1d0f18e commit 4f6a91a
Show file tree
Hide file tree
Showing 15 changed files with 510 additions and 389 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ composer.phar
vendor
phpunit.xml
index.php
.phpunit.result.cache

# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ try {


## Testes
Caso queira contribuir, por favor, implementar testes de unidade em PHPUnit.
Caso queira contribuir, por favor, implementar testes em PHPUnit.

Para executar:
1) Faça uma cópia de phpunit.xml.dist em phpunit.xml na raíz do projeto
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"require-dev": {
"php": ">=7.3",
"phpunit/phpunit": "^6"
"phpunit/phpunit": "^8.5"
},
"authors": [
{
Expand All @@ -33,6 +33,6 @@
}
},
"scripts": {
"test": "phpunit"
"test": "phpunit --testdox"
}
}
Loading

0 comments on commit 4f6a91a

Please sign in to comment.