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

[TESTS] Improve test files organization #1332

Conversation

dansysanalyst
Copy link
Member

⚡ PowerGrid - Pull Request


Motivation

  • Bug fix
  • Enhancement
  • New feature
  • Breaking change

Description

This PR aims to improve the Test files organization.

I have created a new folder Concerns to decongest the tests folder.

  • All PowerGrid components inside tests/Concerns/Components.
  • Moved the Enum into tests/Concerns/Enums.
  • The Models components inside tests/Concerns/Models.
  • I have moved some specific test helpers to tests/Helpers.php to clean up tests/Pest.php.

I have also added the file tests/Feature/ArchitectureTest.php and provided a test to verification to avoid the usage strict_types (for now).

Documentation

This PR requires Documentation update?

  • Yes
  • No
  • I have already submitted a Documentation pull request.

@dansysanalyst dansysanalyst changed the title [TEST] Improve test files organization [TESTS] Improve test files organization Jan 17, 2024
@luanfreitasdev luanfreitasdev merged commit 98aa90d into Power-Components:5.x Jan 17, 2024
16 checks passed
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 participants