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

Fake data script #313

Closed
wants to merge 210 commits into from
Closed

Fake data script #313

wants to merge 210 commits into from

Conversation

razztech
Copy link
Contributor

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.
Screenshot 2024-04-24 at 4 55 58 PM
Screenshot 2024-04-24 at 4 56 16 PM

Who authored this PR?

@razztech

How should this PR be tested?

rails db:populate_teachers
bundle exec rspec

  • What do the specs/features test?
  • Overall script functionality: mainly testing that new entries in the db are created for teachers and schools.

Are there any complications to deploying this?

Run bundle install since the PR adds the Faker gem used for the fake data.

New 💎: Faker

razztech and others added 30 commits March 7, 2024 19:41
Country field added for international schools
ArushC and others added 29 commits April 16, 2024 18:57
…Teacher-Tracker-App into teacher-merge-feature
187384622/new email model - PR3 - Add schema migration to drop old email columns and Adjust Relevant Dependencies
187384622/new email model - PR4 - Now add multi-personal-email feature
Professional Development Feature
@razztech razztech closed this Apr 25, 2024
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.

5 participants