定制 lastdragon-ru/lara-asp-graphql-testing 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lastdragon-ru/lara-asp-graphql-testing

最新稳定版本:11.0.0

Composer 安装命令:

composer require lastdragon-ru/lara-asp-graphql-testing

包简介

Useful assertions for PHPUnit to check printed/exported type/queries and more.

README 文档

README

Useful assertions for PHPUnit to check printed/exported type/queries and more with lastdragon-ru/lara-asp-graphql package

Requirements

Requirement Constraint Supported by
PHP ^8.5 HEAD , 11.0.0
^8.4 HEAD ⋯ 10.0.0
^8.3 10.3.0 ⋯ 10.0.0
PHPUnit ^13.0.0 HEAD , 11.0.0
^12.0.0 10.3.0 ⋯ 10.0.0
^11.3.0 10.3.0 ⋯ 10.1.0
^11.2.0 10.0.0

Installation

Note

The package intended to use in dev.

composer require --dev lastdragon-ru/lara-asp-graphql-testing

Usage

<?php declare(strict_types = 1);

namespace LastDragon_ru\LaraASP\GraphQL\Testing\Docs\Examples;

use LastDragon_ru\LaraASP\GraphQL\Testing\Assertions;
use PHPUnit\Framework\TestCase;

/**
 * @internal
 */
abstract class Usage extends TestCase {
    use Assertions;
}

Assertions

assertGraphQLIntrospectionEquals

Compares default public schema (as the client sees it through introspection).

Read more.

assertGraphQLSchemaEquals

Compares default internal schema (with all directives).

Read more.

assertGraphQLSchemaNoBreakingChanges

Checks that no breaking changes in the default internal schema (with all directives).

Read more.

assertGraphQLSchemaNoDangerousChanges

Checks that no dangerous changes in the default internal schema (with all directives).

Read more.

assertGraphQLSchemaValid

Validates default internal schema (with all directives). Faster than lighthouse:validate-schema command because loads only used directives.

Read more.

Contributing

Please use the main repository to report issues, send pull requests, or ask questions.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固