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

Update GettingStarted.md: Removinggenerate:scenarios#863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ThomasLandauer wants to merge1 commit intoCodeception:master
base:master
Choose a base branch
Loading
fromThomasLandauer:patch-3
Open
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletionsdocs/GettingStarted.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -119,25 +119,6 @@ final class SigninCest
}
```

This scenario can probably be read by everybody, even non-developers. If you just remove all special characters,
this test transforms into plain english text:

```yaml
I amOnPage '/login'
I fillField 'Username', 'davert'
I fillField 'Password', 'qwerty'
I click 'Login'
I see 'Hello, davert'
```

Codeception generates this text representation from PHP code by executing:

```bash
php vendor/bin/codecept generate:scenarios Acceptance
```

These generated scenarios will be stored in your `tests/Support/Data/scenarios/Functional` directory in `*.txt` files.

Before we execute this test, we should make sure that the website is running on a local web server.
Let's open the `tests/Acceptance.suite.yml` file and fill in the URL of your web application:

Expand DownExpand Up@@ -302,7 +283,6 @@ There are plenty of useful Codeception commands:
* `generate:test` *suite* *filename* - Generates a sample PHPUnit Test with Codeception hooks
* `generate:feature` *suite* *filename* - Generates Gherkin feature file
* `generate:suite` *suite* *actor* - Generates a new suite with the given Actor class name
* `generate:scenarios` *suite* - Generates text files containing scenarios from tests
* `generate:helper` *filename* - Generates a sample Helper File
* `generate:pageobject` *suite* *filename* - Generates a sample Page object
* `generate:stepobject` *suite* *filename* - Generates a sample Step object
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp