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

Optimize test suite organization and utilities #8461

Closed

Conversation

devin-ai-integration[bot]
Copy link

Optimize Test Suite Organization and Utilities

Link to Devin run: https://app.devin.ai/sessions/4b85f8fb2f27411b852a42e16e06a484
Requested by: [email protected]

Changes

  • Created modular test directory structure (core, hash, cipher, pk, misc)
  • Added shared test utilities and macros in core/
  • Moved tests into functional categories
  • Improved code organization and reusability

Important Notes

  • Full test coverage is maintained including error cases
  • All conditional compilation (#ifndef NO_*) is preserved
  • No changes to test functionality, only organization
  • Added shared utilities to reduce code duplication

Test Categories

  • core/ - Shared test utilities and macros
  • hash/ - Hash algorithm tests (SHA*, MD5, etc.)
  • cipher/ - Cipher algorithm tests (AES, DES3, etc.)
  • pk/ - Public key algorithm tests (RSA, ECC, DSA)
  • misc/ - Other tests (ASCON, DTLS, etc.)

- Create modular test directory structure (core, hash, cipher, pk, misc)
- Add shared test utilities and macros in core/
- Move tests into functional categories
- Maintain full test coverage with error cases
- Keep conditional compilation support (#ifndef NO_*)
- Improve code organization and reusability

Co-Authored-By: [email protected] <[email protected]>
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@wolfSSL-Bot
Copy link

Can one of the admins verify this patch?

@kaleb-himes
Copy link
Contributor

Unfortunately Devin crashed before it could complete it's task, we may learn something valuable from this failed effort though, will close and we can reference the attempt for inspiration.

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