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

35 results 14 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

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

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

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

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

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

Refactor: Deprecate PTY and use fork

Currently, we use PTY to read low-level data and try to understand if commands have finished or not due to the original idea of supporting interactive mode. We are moving forward and probably will not need it. To make the tool simpler and more error-proof …

donhardmandonhardman · 2025-02-05 · 0 · #63

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-05 · 0 · #62

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

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

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

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

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

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

Description: HTTP requests sent through Buddy without ; echo at the end cause the request to hang indefinitely, and the test does not complete. The query works correctly when executed via MySQL CLI (mysql -h0 -P9306 -e "show version;"). The issue occurs …

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

bug

comments inside tests

Let's add support for ---comment--- totally ignored by CLT when replaying the test. It will make it much easier to understand what the author means when testing something.

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

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-01-09 · 0 · #52

Extra pipe for all output from commands that we run

We should consider looking into the possibility of adding an extra pipe (e.g., > &3) that would allow us to store launched commands' output and review or retrieve it at the end of the test for debugging purposes. Also, as previously considered, it would …

donhardmandonhardman · 2025-01-29 · 0 · #56

Fix issue with cmp tool when comparing line with empy one

We have the rare case that while comparing outputs from record and replay it does not return error code

donhardmandonhardman · 2023-10-02 · 1 · #15

Investigate and fix incorrect CLT test validation

…➜ clt git:(main) ✗ ./clt test -t ./tests/centos:8_20231111_165817.rec -d centos:8; echo $? Replaying data from the file: ./tests/centos:8_20231111_165817.rec The replay result will be stored to the file: ./tests/centos:8_20231111_165817.rep ––– input ––– …

donhardmandonhardman · 2023-11-16 · 5 · #21

bug

Make CLT to run from global PATH

Currently when we add path to CLT in PATH we are still unable to use it due to failed to find required files to run in specified path

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