Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 22, 2024 via composer

codeception/codeception 4.1.21

BDD-style testing framework
Package summary
Share
2
issues
2
critical severity
vulnerability
2
2
licenses
26
MIT
26
BSD-3-Clause
Package created
8 May 2012
Version published
28 May 2021
Maintainers
2
Total deps
52
Direct deps
10
License
MIT

Issues

2

2 critical severity issues

critical
via: codeception/codeception@4.1.21
via: codeception/codeception@4.1.21
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
26 Packages, Including:
behat/gherkin@v4.9.0
codeception/codeception@4.1.21
codeception/lib-asserts@1.13.2
codeception/phpunit-wrapper@9.0.9
codeception/stub@3.7.0
doctrine/instantiator@2.0.0
guzzlehttp/psr7@1.9.1
myclabs/deep-copy@1.11.1
psr/container@2.0.2
psr/event-dispatcher@1.0.0
ralouphie/getallheaders@3.0.3
symfony/console@v5.4.39
symfony/css-selector@v5.4.39
symfony/deprecation-contracts@v3.5.0
symfony/event-dispatcher@v5.4.39
symfony/event-dispatcher-contracts@v3.5.0
symfony/finder@v5.4.39
symfony/polyfill-ctype@v1.29.0
symfony/polyfill-intl-grapheme@v1.29.0
symfony/polyfill-intl-normalizer@v1.29.0
symfony/polyfill-mbstring@v1.29.0
symfony/polyfill-php73@v1.29.0
symfony/polyfill-php80@v1.29.0
symfony/service-contracts@v3.5.0
symfony/string@v6.4.7
symfony/yaml@v5.4.39

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
26 Packages, Including:
nikic/php-parser@v5.0.2
phar-io/manifest@2.0.4
phar-io/version@3.2.1
phpunit/php-code-coverage@9.2.31
phpunit/php-file-iterator@3.0.6
phpunit/php-invoker@3.1.1
phpunit/php-text-template@2.0.4
phpunit/php-timer@5.0.3
phpunit/phpunit@9.6.19
sebastian/cli-parser@1.0.2
sebastian/code-unit@1.0.8
sebastian/code-unit-reverse-lookup@2.0.3
sebastian/comparator@4.0.8
sebastian/complexity@2.0.3
sebastian/diff@4.0.6
sebastian/environment@5.1.5
sebastian/exporter@4.0.6
sebastian/global-state@5.0.7
sebastian/lines-of-code@1.0.4
sebastian/object-enumerator@4.0.4
sebastian/object-reflector@2.0.4
sebastian/recursion-context@4.0.5
sebastian/resource-operations@3.0.4
sebastian/type@3.2.1
sebastian/version@3.0.2
theseer/tokenizer@1.2.3
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

10
All Dependencies CSV
β“˜ This is a list of codeception/codeception 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
behat/gherkinv4.9.073.76 kBMIT
prod
codeception/lib-asserts1.13.27.47 kBMIT
prod
codeception/phpunit-wrapper9.0.944.16 kBMIT
prod
codeception/stub3.7.018.76 kBMIT
prod
guzzlehttp/psr71.9.1-MIT
prod
symfony/consolev5.4.39-MIT
prod dev
symfony/css-selectorv5.4.39-MIT
prod
symfony/event-dispatcherv5.4.39-MIT
prod dev
symfony/finderv5.4.39-MIT
prod
symfony/yamlv5.4.39-MIT
prod dev

Visualizations

Frequently Asked Questions

What does codeception/codeception do?

Codeception is a full-stack testing framework for PHP. Influenced by Behavior-Driven Development (BDD), it offers a unique approach to writing various types of tests, including acceptance, functional, and unit tests. Codeception is designed to describe what is being tested and how it is being tested, enabling developers to write test descriptions efficiently using PHP. The results of those tests are easily observable, indicating what actions were taken and their outcomes.

How do you use codeception/codeception?

Using Codeception is straightforward. To get started, you must first install the package using Composer as follows:

php composer.phar require "codeception/codeception"

The libraries required for specific features of Codeception must also be installed. For instance, to use the PhpBrowser module:

php composer.phar require "codeception/module-phpbrowser"

Once installed, Codeception can be incorporated into your project via its Phar file, which can be downloaded from the official Codeception website. Here's how you can make Codeception executable and move it into your $PATH:

wget https://codeception.com/codecept.phar
chmod +x codecept.phar
sudo mv codecept.phar /usr/local/bin/codecept

After that, you can initialize default settings and suites with:

codecept bootstrap

An example of how you may write a test using Codeception is:

$I->amOnPage('/');
$I->click('Pages');
$I->click('New');
$I->see('New Page');
$I->submitForm('form#new_page', ['title' => 'Movie Review']);
$I->see('page created'); // notice generated
$I->see('Movie Review','h1'); // head of page of is our title
$I->seeInCurrentUrl('pages/movie-review'); // slug is generated
$I->seeInDatabase('pages', ['title' => 'Movie Review']); // data is stored in database

Where are the codeception/codeception docs?

You can find comprehensive Codeception documentation at https://codeception.com/docs/Introduction. Additionally, the documentation source files are available in the repository https://github.com/Codeception/codeception.github.com/tree/master/docs/. Through these resources, users can dive into a more detailed understanding of how Codeception functions, its use cases, and how to effectively implement it in their projects.