Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Toolset updates for Round 20 - #5648

Merged
NateBrady23 merged 16 commits into
TechEmpower:masterfrom
NateBrady23:test-modules
Jul 2, 2020
Merged

NateBrady23 merged 16 commits into
TechEmpower:masterfrom
NateBrady23:test-modules

Conversation

@NateBrady23

@NateBrady23 NateBrady23 commented Apr 24, 2020 •

Copy link
Copy Markdown
Member

** This is a work in progress **

This update includes reworking test types such that they're never hard-coded in core toolset utilities. This modularizes test types in the same way I did for databases. If we were to add a test type called routing for complex routing, creating the toolset/test-types/routing folder and adding the proper methods will automagically allow for a routing key to be added in a framework's benchmark_config.json without adding anything to other toolset code. There's still some work to be done here with cleaning up the abstract test type which I will address before this PR is ready to be merged.

This PR also includes a verification check that each test meet a specific length requirement for that test's url. Plaintext should be at least /plaintext length, etc.

More updates to come before this is ready.

  • Test type names removed from toolset
  • Verify test urls
  • Update cached_query keys to cached-query
  • Update vagrant
  • Verify the results output renders correctly

@NateBrady23

Copy link
Copy Markdown
Member Author

@benaadams Yeah, good point. We talked about that, too.

@benaadams

Copy link
Copy Markdown
Contributor

Might also want to add a min Server name length in the Server header? Since there are now some 1 char headers out there...

This was referenced May 28, 2020
@NateBrady23
NateBrady23 marked this pull request as ready for review July 2, 2020 20:36
@NateBrady23
NateBrady23 merged commit 0b8a382 into TechEmpower:master Jul 2, 2020
@NateBrady23
NateBrady23 deleted the test-modules branch July 17, 2020 20:37
tomciopp pushed a commit to tomciopp/FrameworkBenchmarks that referenced this pull request Oct 21, 2020
* Add tag support

* add --list-tag

* filter out broken tests

* work on test modules

* fix test order

* :/

* work on test-modules

* fix class

* add url length checks to verifications

* update cached-query key and vagrant to ubuntu 18.04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants