Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Database Factory Classifier #183

Merged
merged 4 commits into from
Sep 7, 2020
Merged

Conversation

stefanzweifel
Copy link
Owner

Adds support for the new Database Factories coming in Laravel 8: https://laravel.com/docs/8.x/database-testing#writing-factories

Closes #181

@stefanzweifel stefanzweifel self-assigned this Sep 7, 2020
@codecov
Copy link

codecov bot commented Sep 7, 2020

Codecov Report

Merging #183 into master will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #183      +/-   ##
============================================
+ Coverage     92.70%   92.76%   +0.05%     
- Complexity      314      318       +4     
============================================
  Files            62       63       +1     
  Lines           987      995       +8     
============================================
+ Hits            915      923       +8     
  Misses           72       72              
Impacted Files Coverage Δ Complexity Δ
src/Classifier.php 100.00% <ø> (ø) 7.00 <0.00> (ø)
src/Classifiers/DatabaseFactoryClassifier.php 100.00% <100.00%> (ø) 4.00 <4.00> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b7b077d...6a8ddcd. Read the comment docs.

@stefanzweifel stefanzweifel merged commit 33a0b7e into master Sep 7, 2020
@stefanzweifel stefanzweifel deleted the database-factory-classifier branch September 7, 2020 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[2.x] Add Classifier for new Model Factories
1 participant