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

use autopilot to generate test data, will replace most tpl files #298

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

davidbloss
Copy link
Contributor

Issues

Resolves #109

Changelog

  • Start phasing out TestDataTemplater and return to autopilot

  • Start generating test data for input and update structs via autopilot.Register[T]("tpl_name", T{})

    • Example: domainInput := autopilot.Register[ol.DomainInput]("domain_create_input", ol.DomainInput{})
      • domainInput is a struct we can use for testing logic
      • "domain_create_input" is the template name as in {{ tempate "domain_create_input" }} - for use in templated test request strings
  • This is the way

  • List your changes here

  • Make a changie entry, N/A testing data

Tophatting

task test - all tests pass

@davidbloss davidbloss requested review from rocktavious and a user November 10, 2023 15:44
Copy link

codecov bot commented Nov 10, 2023

Codecov Report

Merging #298 (389ae5f) into main (541a085) will not change coverage.
The diff coverage is n/a.

❗ Current head 389ae5f differs from pull request most recent head 5a59dc3. Consider uploading reports for the commit 5a59dc3 to get more accurate results

@@           Coverage Diff           @@
##             main     #298   +/-   ##
=======================================
  Coverage   76.80%   76.80%           
=======================================
  Files          50       50           
  Lines        3307     3307           
=======================================
  Hits         2540     2540           
  Misses        564      564           
  Partials      203      203           

@davidbloss davidbloss merged commit 41ec163 into main Nov 10, 2023
1 check passed
@davidbloss davidbloss deleted the db/bring-back-autopilot branch November 10, 2023 17:43
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.

1 participant