Skip to content

Leverage Tachycardia's Expeditable trait to obtain slim execution times#6761

Merged
paulbalandan merged 1 commit intocodeigniter4:developfrom
paulbalandan:expeditable
Oct 27, 2022
Merged

Leverage Tachycardia's Expeditable trait to obtain slim execution times#6761
paulbalandan merged 1 commit intocodeigniter4:developfrom
paulbalandan:expeditable

Conversation

@paulbalandan
Copy link
Copy Markdown
Member

Description
To test this, use the --testdox option in phpunit and compare PHPUnit's reported time vs. the slow time reported. This should be lesser.
Ref: https://github.com/NexusPHP/tachycardia/blob/1.x/docs/limiting_test_times.md

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

Copy link
Copy Markdown
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

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

This is already our recommendation on DevKit: https://github.com/codeigniter4/devkit/blob/develop/src/Template/phpunit.xml.dist#L58-L60

Let's make sure the @codeigniter4/core-team see this so they're aware.

PS: ❤️ Tachycardia!

@paulbalandan paulbalandan merged commit 30258d5 into codeigniter4:develop Oct 27, 2022
@paulbalandan paulbalandan deleted the expeditable branch October 27, 2022 00:01
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.

3 participants