Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@teqfw/test

teqfw42Apache-2.00.24.0

Provides a test environment for TeqFW plugins and projects, including a pre-configured DI container, database support, and plugin dependency management tools.

ecmascript 2015, es6+, teqfw, tequila framework, test, web applications

readme

@teqfw/test

@teqfw/test is an npm package providing a test environment for TeqFW plugins and projects. It includes a DI container, configuration setup, and utilities for managing plugin dependencies and database connections.

Key Features

  • Dependency Injection (DI) container pre-configured for TeqFW.
  • Automated plugin autoloading and namespace mapping.
  • Database support: MariaDB, PostgreSQL, SQLite, Better-SQLite.
  • Extensible environment for efficient plugin testing.

License

This project is licensed under the Apache License 2.0.

changelog

@teqfw/test: Releases

0.24.0 – Unified DI container types and test environment cleanup

  • Replaced legacy TeqFw_Di_Api_Container type with updated TeqFw_Di_Container across all internal JSDoc annotations for consistency and alignment with DI implementation.
  • Updated test environment initialization to reflect consistent container handling in Back/Index.mjs and related functions.

0.23.0 - Plugin Integration and DB Enhancements

  • Added dependencies to package.json for smoother integration.
  • Enhanced database connection initialization for tests.
  • Improved logger initialization in the test environment.

0.22.0

  • Added support for better-sqlite3 as a database type.
  • Added proxy and logger post-processors.

0.21.0

  • Use a new depId scheme from @teqfw/di.

0.20.1

  • Use pre- and post-processors in the test env initialization.

0.20.0

  • These changes are related to the new architecture of the @teqfw/di package.

0.3.0

  • Core refactoring reflection.

0.2.0

  • SQLite support.
  • Switch source code areas enum from di to core plugin.

0.1.0

  • Initial.