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

feat: seed database for dev and tests #350

Merged
merged 3 commits into from
Feb 10, 2023
Merged

feat: seed database for dev and tests #350

merged 3 commits into from
Feb 10, 2023

Conversation

Volubyl
Copy link
Contributor

@Volubyl Volubyl commented Feb 10, 2023

rel : #272

Cette PR:

Permet d'ajouter automatiquement des fausses données (fixtures) dans la base de donnée pour la développement et pour les tests

@codecov
Copy link

codecov bot commented Feb 10, 2023

Codecov Report

Base: 92.11% // Head: 92.11% // No change to project coverage 👍

Coverage data is based on head (f8051e0) compared to base (acc7e34).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #350   +/-   ##
=======================================
  Coverage   92.11%   92.11%           
=======================================
  Files         268      268           
  Lines        3221     3221           
  Branches      194      194           
=======================================
  Hits         2967     2967           
  Misses        249      249           
  Partials        5        5           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Volubyl Volubyl self-assigned this Feb 10, 2023
@Volubyl Volubyl changed the title feat: seed database for dev and before tests feat: seed database for dev and tests Feb 10, 2023
@Volubyl Volubyl merged commit 0bc783a into master Feb 10, 2023
@Volubyl Volubyl deleted the feat-seed-db branch February 10, 2023 17:29
@@ -18,4 +18,4 @@ export const dataSourceOptions: DataSourceOptions = {
};

// For use by TypeORM CLI.
export const dataSource = new DataSource(dataSourceOptions);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ce changement fait qu'en local make database-migrate ne lance plus les migrations

Volubyl added a commit that referenced this pull request Feb 17, 2023
* fix: create migration with pending changes

* fix:remove john doe form migrations

* add database seeders

fix:remove john doe form migrations

add database seeders

chore: restructure component folder with atomic design

test hr page

feat: setup e2e for leave request
Volubyl added a commit that referenced this pull request Feb 17, 2023
* fix: create migration with pending changes

* fix:remove john doe form migrations

* add database seeders

fix:remove john doe form migrations

add database seeders

chore: restructure component folder with atomic design

test hr page

feat: setup e2e for leave request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants