huppys/lib-bookme
最新稳定版本:0.3.1
Composer 安装命令:
composer require huppys/lib-bookme
包简介
Booking library
README 文档
README
Docker, Docker, Docker ...
- Run
build-docker-container.shto build docker container ;) - Builds docker container to be used as 'remote development' container in phpstorm, intelliJ, vscode to run PHPUnit tests
- Modify
Dockerfileto adapt this development container to your needs
Test data builder classes
To use test data for tests in general, we use BuilderGenerator classes to generate predefined test data. The
concept is
to create a builder class like GuestBuilder to create a test instance of the class Guest and pre-populate this
instance with dummy data. Guest is seen as a testable entity class and must implement the Buildable interface.
Environment variables
The variable PROJECT_ROOT is set to the containers project root. This is by default defined by the underlying php
image as /opt/project. The aforementioned environment variable is necessary to run all unit tests and to run
sole tests.
Bullshit bingo section
- Made for PHP >= 8.1.10
- Test-driven development
- BDD style
- Includes shared launcher for IntelliJ to run PHPUnit tests within docker container
统计信息
- 总下载量: 74
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-25