Metadata-Version: 2.4
Name: lightestlib
Version: 0.1
Summary: A simple, pythonic Python test framework
Author-email: Alwaylone <221159233+Alwaylone9801@users.noreply.github.com>
License: MIT License
        
        Copyright (c) 2025 Alwaylone
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/Alwaylone9801/testlib
Project-URL: Repository, https://github.com/Alwaylone9801/testlib
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# lightestlib

A simple, pythonic Python test framework implemented in Python.

## Overview

lightestlib is a lightweight testing framework designed for simplicity and ease of use. It provides a flexible architecture that allows you to define different types of tests and customize output formatting and reporting.

## Quick Start

### Installation

Install from PyPI:

```bash
pip install lightestlib
```

Or clone the repository:

```bash
git clone <repository-url>
cd testlib
```

Hence using the match-case sentences, only python 3.10 and above are supported

### Basic Usage

```python
from testlib.suites import PlainTestsuite
from testlib.outputers import StdOutputer
from testlib.formatters import StdMessageFormatter

# Create a test suite
suite = PlainTestsuite()
suite.add_outputer(StdOutputer(), StdMessageFormatter("normal"))

# Add a plain test
@suite.add["plain"]
def sample_test():
    print("Hello, pytestlib!")
    return True

# Run the tests
suite.run()
```

## Features

- Multiple test types: Plain, Result, Exception, and Output tests
- Flexible output system with support for console and file output
- Customizable message formatting
- Extensible architecture for adding new test types

## Documentation

For detailed usage instructions, please see the documentation in the `docs/` directory:

- User Guide
- API Reference
- Examples

## License

See the [LICENSE](LICENSE) file for details.

## Contact

For bug reports and feature requests, please use the [issue tracker](https://github.com/Alwaylone9801/testlib/issues).
For general questions and discussions, please use [GitHub Discussions](https://github.com/Alwaylone9801/testlib/discussions).
