-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fake data script #57
base: main
Are you sure you want to change the base?
Fake data script #57
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #57 +/- ##
==========================================
- Coverage 85.11% 80.61% -4.51%
==========================================
Files 29 31 +2
Lines 927 980 +53
==========================================
+ Hits 789 790 +1
- Misses 138 190 +52 ☔ View full report in Codecov by Sentry. |
@razztech are you sure everything that you wrote has been tested? The CodeCov is giving a bunch of lines not covered warnings but idk it might be a glitch... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great -- really minor things, that I'll merge soon. :)
What this PR does:
This pull request implements two scripts that populate the database for testing / development. One of them creates fake schools and the other one creates fake teachers. The PR also includes rspec tests that test the functionality/reliability of the script.
Include screenshots, videos, etc.
Here are some screenshots with the fake data generated by the scripts to populate the database.
Who authored this PR?
@razztech
How should this PR be tested?
rails db:populate_teachers
bundle exec rspec
Are there any complications to deploying this?
Run
bundle install
since the PR adds theFaker
gem used for the fake data.New 💎:
Faker