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

fix: Integration functionality stop on terminal kill #50

Merged
merged 13 commits into from
Sep 27, 2024

Conversation

ayush3160
Copy link
Contributor

@ayush3160 ayush3160 commented Sep 17, 2024

This pr fixes the behavior of recording when terminal is closed.

peek_1

After recording test cases in zsh shell

peek_2

@khareyash05
Copy link
Contributor

Great work! Works great with replay, please check on the record side

@khareyash05
Copy link
Contributor

also add semicolons in your files, will cause havoc later if not present

@khareyash05 khareyash05 changed the title fix: Fixed Recording of test cases fix: Integration functionality stop on terminal kill Sep 18, 2024
Signed-off-by: Ayush Sharma <[email protected]>
@khareyash05
Copy link
Contributor

khareyash05 commented Sep 18, 2024

Looks good! ALso check if Keploy and the application has been stopped or not, this will 100 percent ensure that the functionality is completed working

@khareyash05
Copy link
Contributor

This is making, default running shell as bash, this isnt ideal,please look into the same

@shivamsouravjha
Copy link
Contributor

if any terminal is open it is also closed please try to fix it

@shivamsouravjha shivamsouravjha merged commit 26b3312 into keploy:main Sep 27, 2024
10 checks passed
@khareyash05
Copy link
Contributor

Well done @ayush3160

shivamsouravjha pushed a commit that referenced this pull request Oct 7, 2024
* fix: fixed recording

Signed-off-by: Ayush Sharma <[email protected]>

* fix: fixed record command for zsh shell

Signed-off-by: Ayush Sharma <[email protected]>

* fix: fixed recording for all cases

Signed-off-by: Ayush Sharma <[email protected]>

* fix: fixed record script

Signed-off-by: Ayush Sharma <[email protected]>

* minor change

Signed-off-by: Ayush Sharma <[email protected]>

* fix: test script

Signed-off-by: Ayush Sharma <[email protected]>

* fix: terminal disposing

Signed-off-by: Ayush Sharma <[email protected]>

* added trap condition in zshScript

Signed-off-by: Ayush Sharma <[email protected]>

* fixed recording and testing

Signed-off-by: Ayush Sharma <[email protected]>

* added exit in trap

Signed-off-by: Ayush Sharma <[email protected]>

---------

Signed-off-by: Ayush Sharma <[email protected]>
Co-authored-by: Yash Khare <[email protected]>
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