HumHub Documentation (unofficial)

Command

Table of Contents

Namespaces

Shared

Classes

Bootstrap
Creates default config, tests directory and sample suites for current project.
Build
Generates Actor classes (initially Guy classes) from suite configs.
Clean
Recursively cleans `output` directory and generated code.
Completion
CompletionFallback
Base class for all commands.
ConfigValidate
Validates and prints Codeception config.
Console
Try to execute test commands in run-time. You may try commands before writing the test.
DryRun
Shows step by step execution process for scenario driven tests without actually running them.
GenerateCept
Base class for all commands.
GenerateCest
Generates Cest (scenario-driven object-oriented test) file:
GenerateEnvironment
Generates empty environment configuration file into envs dir:
GenerateFeature
Generates Feature file (in Gherkin):
GenerateGroup
Creates empty GroupObject - extension which handles all group events.
GenerateHelper
Creates empty Helper class.
GeneratePageObject
Generates PageObject. Can be generated either globally, or just for one suite.
GenerateScenarios
Generates user-friendly text scenarios from scenario-driven tests (Cest).
GenerateSnapshot
Generates Snapshot.
GenerateStepObject
Generates StepObject class. You will be asked for steps you want to implement.
GenerateSuite
Create new test suite. Requires suite name and actor name
GenerateTest
Generates skeleton for Unit Test that extends `Codeception\TestCase\Test`.
GherkinSnippets
Generates code snippets for matched feature files in a suite.
GherkinSteps
Prints all steps from all Gherkin contexts for a specific suite
Init
Base class for all commands.
Run
Executes tests.
SelfUpdate
Auto-updates phar archive from official site: 'https://codeception.com/codecept.phar' .

        
On this page

Search results