semvec/pypi-packages huggingface dataset:
test-gen-framework 1.0.8
Test Generation Framework
License: MIT


# Test Generation Framework

The **Test Generation Framework** is a command-line interface (CLI) tool designed to generate and execute automated tests for pull requests (PRs) using AI models. It provides two main commands: `generate` for generating tests based on the PR number, and `execute` for running tests with prioritization.

## Features

- **Generate Test Cases**: Automatically generate test cases using an AI model based on the pull request.
- **Dynamic Tests prioritization**: Dynamically generate tests prioritization based on previous execution data.
- **Execute Tests**: Run generated tests with prioritization, making it easier to focus on the most important tests first.

## Installation

To install the framework, use the following command:

```bash
pip install test-gen-framework
```

## Usage

### Command-Line Interface

Once installed, you can use the `test-gen` command with the following syntax:

```bash
test-gen <command> <arguments>
```

### Available Commands

#### 1. `init`

Generates the config file and github actions workflow setup.

**Usage:**

```bash
test-gen-init
```

#### 2. `generate`

Generates test cases based on the provided pull request (PR) number.

**Usage:**

```bash
test-gen generate <pr_number>
```

**Arguments:**

- `pr_number`: The PR number for which to generate test cases.

**Example:**

```bash
test-gen generate 123
```

This will generate test cases for PR number 123.

#### 3. `execute`

Executes the generated tests with prioritization.

**Usage:**

```bash
test-gen execute <test_dir> <pr_number>
```

**Arguments:**

- `test_dir`: The directory where the generated test cases are located.
- `pr_number`: The PR number associated with the generated tests.

**Example:**

```bash
test-gen execute tests/pr_123 123
```

This will execute the tests located in the `tests/pr_123` directory, corresponding to PR number 123.

## How It Works

1. **init Command**: The `init` command will generate and add neccesery config files to the project and it will also create the github actions worflow setup in your project.
2. **Generate Command**: The `generate` command uses an AI model to generate automated tests for a given pull request. It leverages the PR number to gather relevant code and context.
3. **Execute Command**: The `execute` command runs the generated tests on a specified directory, prioritizing tests based on their importance and relevance.

## Contributing

If you'd like to contribute to the project, feel free to fork the repository and submit a pull request. Contributions are always welcome!

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
curses-playlist 0.5.2
curses based interactive playlist creation for videos
License: MIT
Requires Python: <4.0,>=3.7

# plist
curses based interactive playlist creation for video files.

# usage

```
plist.exe --playlist c:\tmp\test.m3u --working-directory Z:\movies
```

# docs

Interactively create a `playlist.m3u` then launch it using `vlc.exe`. 
Automatically loads last playlist on startup.
There are 2 modes which you can toggle using the `ESC` key:
```
[INPUT: ENTER - add | ESC - CMD] 
[CMD: m - mod | q | w | p - play | r - reset]
```

In `INPUT` Mode, filenames in the playlist are searched for substrings that you enter, separated by a single whitespace. 

E.g.: `rick` `morty` `s01e01` would yield all filenames that contain all 3 strings.

In `CMD` mode you have the following options:

* `m` move
  * `j` navigate/move down
  * `k` navigate/move up
  * `d` del 
  * `m` toggle navigate/move
* `p` play: start vlc player with playlist
* `r` reset: reset the playlist
* `q` quit: doing nothing

# repo

https://github.com/dosnpfand/curses-playlist