Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Minimal site containing functional tests for Codeception Symfony module.

NotificationsYou must be signed in to change notification settings

Codeception/symfony-module-tests

Repository files navigation

Actions Status

Minimal site containing functional tests forCodeception Module Symfony.

Usage

The main purpose of this project is to verify the proper functioning of theCodeception Module Symfony in a minimal Symfony installation.

You can use it to contribute new features or propose changes in the module and verify that nothing is broken in the process.If that's your goal, be sure to followthe contribution guides for the module.

You can alsofork it and use it to reproduce a bug or unexpected behavior for analysis.If that's your case, just add a link to your fork next to the description of your issue in the module's repository.

Lastly, if you just want to see the module in action and run the tests yourself on your local machine just:

  1. Clone the repo
    git clone https://github.com/Codeception/symfony-module-tests.git
  2. Install Composer dependencies
    composer update
  3. Update database schema and load Doctrine fixtures
    php bin/console doctrine:schema:update --forcephp bin/console doctrine:fixtures:load --quiet

Then, go to the project directory and run:

vendor/bin/codecept run Functional

Create Unit Suite or Acceptance Suite

To createUnit Tests orAcceptance Tests, you need to create the corresponding suite first:

vendor/bin/codecept generate:suite Unitvendor/bin/codecept generate:suite Acceptance

Using local code for tests

Assuming you have the following directory structure:

Codeception/├─ module-symfony/├─ symfony-module-tests/│  ├─ composer.json│  ├─ composer.lock

Add code listed below to the composer.json and runcomposer update.

{  // ...  "repositories": [    {      "type": "path",      "url": "../module-symfony"    }  ]}

Don't forget to revert composer.json and runcomposer update before commit changes.

About

Minimal site containing functional tests for Codeception Symfony module.

Resources

Stars

Watchers

Forks

Contributors6


[8]ページ先頭

©2009-2025 Movatter.jp