Skip to content

Fix: Move and rename tests #628

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

Merged
merged 1 commit into from
Jul 9, 2022
Merged

Conversation

localheinz
Copy link
Contributor

@localheinz localheinz commented Jul 8, 2022

This pull request

  • moves and renames tests

Follows #606.

@@ -4,7 +4,7 @@ sort some notes
precision=-1
--FILE--
<?php
require_once __DIR__ . "/../autoload.php";
require_once __DIR__ . "/../../../autoload.php";
Copy link
Contributor Author

@localheinz localheinz Jul 8, 2022

Choose a reason for hiding this comment

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

If we used phpunit/phpunit, I would create a test for phpweb/UserNotes/Sorter in one of

  • phpweb/Test/UserNotes/SorterTest
  • phpweb/Test/Unit/UserNotes/SorterTest

to have some sort of 1:1 mapping of class and test case.

Does that make sense?

@kamil-tekiela
Copy link
Member

How about using more descriptive file names?

@localheinz localheinz changed the title Fix: Move tests Fix: Move and rename tests Jul 9, 2022
@kamil-tekiela kamil-tekiela merged commit b9da39a into php:master Jul 9, 2022
@localheinz localheinz deleted the fix/move branch July 9, 2022 10:35
@localheinz
Copy link
Contributor Author

Thank you, @kamil-tekiela!

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