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

Auto test generation from recorder #40

Closed
kendarorg opened this issue Feb 10, 2022 · 4 comments
Closed

Auto test generation from recorder #40

kendarorg opened this issue Feb 10, 2022 · 4 comments

Comments

@kendarorg
Copy link
Owner

Probably https://pebbletemplates.io/
generate (given a package name!)

  • Test class
    • Initialization uploading the recording on server
    • All methods to make the calls
    • The summa of all the method calls in order (real @test)
  • Resources
    • For each method call a resource file for req data (if) and one for resp data
@kendarorg
Copy link
Owner Author

Recording:

  • Add proxyes and dns for the calls from stimulation apis (called manually for recording)
  • Add proxyes and dns for the calls from stimulated server
  • Start recording (with checked "not compacting") MYPROJECT
    Setup the simulator
  • Filter the simulation NOT api calls -> Export to new recording (MYPROJECT.RECORDING)
  • Compact the MYPROJECT.RECORDING
    Setup the runner
  • Filter the stimulation api calls-> Export to a new recording (MYPROJECT.RUNNER)
  • for the MYPROJECT.RUNNER generate the calls
    RUNNNNNN!

@kendarorg
Copy link
Owner Author

The "full" recording actually stores only the static stuffs 👎 👎 👎 👎 👎 👎 👎

@kendarorg
Copy link
Owner Author

Now storing the right things plus added all the grid search funcs

@kendarorg
Copy link
Owner Author

Store the recording and run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant