Query Suggestion Options
Last word completion
Keyboard Layouts
GitHub

👀 While it's loading, feel free to check out the other repositories:

🔔 To get a notification when it's ready, leave your email here:

By entering your email, you agree to receive notifications and marketing-related emails

Filter by reset

126 results 16 ms in manticoresoftware/clt

Implement duration counting

Implementing a duration and the relative percentage for each command in a test seems like a great idea. We can use our existing block syntax and just overlook it during the test: ––– duration: 0.123ms (10.2%) –––

donhardmandonhardman · 2023-12-15 · 2 · #26

enhancement

Make CLT to run from global PATH

donhardmandonhardman · 2025-01-07 · 2 · #50

It works fine, but there's an issue because we're using the ./tests/ directory when no file is specified. When this directory is missing, we encounter a problem running clt record from the global path. I fixed it by setting the default to the current …

donhardmandonhardman · 2025-01-07

Measure peak mem and CPU time

It looks like it's possible and might be a good idea to add measurement of 'peak memory' and 'CPU time' usage after each command we run, similar to how we track 'duration'. To make this happen, we could try tracking the PID of the bash process we run and …

donhardmandonhardman · 2024-07-25 · 0 · #40

enhancementest::size_M

Make CLT to run from global PATH

donhardmandonhardman · 2025-01-07 · 2 · #50

Fixed in https://github.com/manticoresoftware/clt/pull/51

sanikolaevsanikolaev · 2025-01-07

Improve CLT output with user command

We should improve our CLI action and provide users with a given command that they can run to validate the test locally. In the same output, we should dump information about the script and real command execution.

donhardmandonhardman · 2024-12-08 · 2 · #45

Customized output checkers

donhardmandonhardman · 2025-02-20 · 1 · #62

As discussed, there's an issue when it sometimes hangs, but https://github.com/manticoresoftware/clt/issues/63 can help with that.

sanikolaevsanikolaev · 2025-02-20

Possibility to reset mistaken command in record session

It is indeed a great idea to include the option of undoing a mistaken command while we are in recording mode. This can be achieved by implementing a specific key combination that removes the command from the final recorded file. With this feature, we can …

donhardmandonhardman · 2023-10-04 · 0 · #16

enhancement

Issue with wrong rec generated in manual mode

donhardmandonhardman · 2025-02-20 · 2 · #52

Related with https://github.com/manticoresoftware/clt/issues/63

sanikolaevsanikolaev · 2025-02-20

Checkpointing caching while replay the test

When we run a record file that uses blocks to validate that it works fine, it executes all commands. However, once we add some extra commands or fix the last one, we have to run the whole test again, which wastes significant time in most cases redoing the …

donhardmandonhardman · 2023-10-04 · 0 · #17

enhancement

Issue with wrong rec generated in manual mode

donhardmandonhardman · 2025-02-20 · 2 · #52

Closing as it won't make sense after https://github.com/manticoresoftware/clt/issues/63

sanikolaevsanikolaev · 2025-02-20

Customized output checkers

Currently, we check the output of each command with strict matching and regular expressions, which means all output needs to match exactly for each command. The idea is to introduce custom checkers/validators that can be represented as linked aliases or …

donhardmandonhardman · 2025-02-20 · 1 · #62

comments inside tests

sanikolaevsanikolaev · 2025-02-04 · 2 · #57

Implemented: https://github.com/manticoresoftware/clt/pull/59 During the addition of --- comment --- block support, I also reviewed the approach to detect statements and refactored it. Additionally, I introduced a new feature: --- input --- now supports …

donhardmandonhardman · 2025-02-04

Issue with wrong rec generated in manual mode

We have issue with recording in manual mode as follows: ./clt record -t test.rec load ––– input ––– echo 1 > /dev/null ––– output ––– - clt> ––– input ––– sleep 1 ––– output –––

donhardmandonhardman · 2025-02-20 · 2 · #52

comments inside tests

sanikolaevsanikolaev · 2025-02-04 · 2 · #57

Supported multilines: ––– input ––– for i in {1..3}; do echo $i; done ––– output ––– 1 2 3 ––– duration: 2ms (40.00%) ––– ––– input ––– echo 1 &&\ echo 2 ––– output ––– 1 2 ––– duration: 1ms (20.00%) ––– ––– input ––– { echo 1 echo 3 } ––– output ––– 1 3 …

donhardmandonhardman · 2025-02-04

Add possibility to delay next command to replay

donhardmandonhardman · 2024-10-28 · 0 · #44

HTTP requests sent through Buddy without ; echo at the end cause a hang and the test does not complete.

PavelShilin89PavelShilin89 · 2025-01-16 · 2 · #53

bug

echo -n 123 should be enough to reproduce this issue in CLT

sanikolaevsanikolaev · 2025-01-15

Add info to README about output MUST contain new line as a limitation

donhardmandonhardman · 2024-06-06 · 0 · #39

HTTP requests sent through Buddy without ; echo at the end cause a hang and the test does not complete.

PavelShilin89PavelShilin89 · 2025-01-16 · 2 · #53

bug

Duplicate of https://github.com/manticoresoftware/clt/issues/38 We are unable to detect command output because we read from PTY when no newline is provided, and it's impossible to fix on the CLT side. We should investigate the issue where the daemon loses …

donhardmandonhardman · 2025-01-16

Add default delay a few ms between inputs

Sometimes, when you replay a CLT test, one input may run too soon after the previous one. It is recommended to add a default delay between inputs, such as 5ms.

sanikolaevsanikolaev · 2024-10-28 · 3 · #43

Tests stucks if no next command passed

djklim87djklim87 · 2024-06-05 · 2 · #38

@donhardman pls discuss this with @djklim87

sanikolaevsanikolaev · 2024-05-31

Dynamic variables for inputs

From: https://gitlab.com/manticoresearch/clt/-/issues/5 While doing a scenario to test mysqldump with combined tasks no mcl, mcl only, mcl id with json, MVA, text fields, we found that it's a good idea to have the possibility to support dynamic variables …

sanikolaevsanikolaev · 2023-12-01 · 0 · #24

Improve CLT output with user command

donhardmandonhardman · 2024-12-08 · 2 · #45

Implemented: https://github.com/manticoresoftware/clt/pull/46

donhardmandonhardman · 2024-12-05

Reusable blocks in the interactive mode

From: https://gitlab.com/manticoresearch/clt/-/issues/10 We now have support for reusable blocks, but we should also incorporate this feature into interactive mode. The task involves: Contemplating possible implementation methods. As proposed, we could …

sanikolaevsanikolaev · 2023-12-01 · 0 · #25

Improve CLT output with user command

donhardmandonhardman · 2024-12-08 · 2 · #45

Closing as it was merged

donhardmandonhardman · 2024-12-08

UI to continously compose and run test

We should implement a simple UI that will perform the following functions: Expose an interface allowing users to enter commands for execution and display two rows of compared output - one modifiable and another from replay Automatically rerun tests when …

donhardmandonhardman · 2025-02-06 · 0 · #64

enhancement

Add default delay a few ms between inputs

sanikolaevsanikolaev · 2024-10-28 · 3 · #43

Implemented in this pull: https://github.com/manticoresoftware/clt/pull/44

donhardmandonhardman · 2024-10-25

Show how to run test locally

donhardmandonhardman · 2024-12-06 · 0 · #46

Add default delay a few ms between inputs

sanikolaevsanikolaev · 2024-10-28 · 3 · #43

We need to review and, if all is good, merge to the main branch and set a new tag with an updated version.

donhardmandonhardman · 2024-10-25

Add possibility to pass the directory required to run tests from outside

donhardmandonhardman · 2024-12-06 · 0 · #47

Add default delay a few ms between inputs

sanikolaevsanikolaev · 2024-10-28 · 3 · #43

Merged to the main. Version of CLT that supports delay: 0.3.1+

donhardmandonhardman · 2024-10-28

Clean up escape sequences

donhardmandonhardman · 2024-10-16 · 0 · #42

Remove escape sequences from outputs

donhardmandonhardman · 2024-10-16 · 2 · #41

est::size_S

I have create pull request: https://github.com/manticoresoftware/clt/pull/42 MRE to validate: ––– input ––– echo -e "\e[1;31mThis is red text\e[0m \e[1;32mThis is green text\e[0m \e[1;34mThis is blue text\e[0m" ––– output ––– This is red text This is …

donhardmandonhardman · 2024-10-16

Custom output checkers

donhardmandonhardman · 2025-02-18 · 0 · #65

Remove escape sequences from outputs

donhardmandonhardman · 2024-10-16 · 2 · #41

est::size_S

Closing due it was merged. Task to update version of CLT everywhere: https://github.com/manticoresoftware/manticoresearch/issues/2652

donhardmandonhardman · 2024-10-16

Remove escape sequences from outputs

We should remove all bash sequences from generated output before we write it to the rep file to make it easier and more natural to compare outputs with different IDEs that may not render them or simply do not display them.

donhardmandonhardman · 2024-10-16 · 2 · #41

est::size_S

Tests stucks if no next command passed

djklim87djklim87 · 2024-06-05 · 2 · #38

I updated the CLT version to the latest one, but it didn't help. I tried to use act to reproduce the issue, but it didn't work. Finally, I read more about kubectl and found that it doesn't return a new line. So, as an outcome of the solution, the CLT is …

donhardmandonhardman · 2024-06-05

Do not post any info in case tests passed

donhardmandonhardman · 2024-12-25 · 0 · #49

Skip adding succeed tests to summary

donhardmandonhardman · 2024-12-25 · 3 · #48

Implementation: https://github.com/manticoresoftware/clt/pull/49

donhardmandonhardman · 2024-12-25

Skip adding succeed tests to summary

We should add to summary only those tests that failed same we do in comments

donhardmandonhardman · 2024-12-25 · 3 · #48

Skip adding succeed tests to summary

donhardmandonhardman · 2024-12-25 · 3 · #48

Implementation: https://github.com/manticoresoftware/clt/pull/49 Approved

sanikolaevsanikolaev · 2024-12-25