-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* make support stuff optional when doing paths * install gherkin-utils * refactor a bit * refactor runCucumber internals, add docs * revert breaking change to parseGherkinMessageStream * add documentation * normalise uris because windows * deprecate parseGherkinMessageStream * add missing export! * add missing export! * api report/docs update
- Loading branch information
1 parent
6feaefb
commit ad1d112
Showing
28 changed files
with
667 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [ILoadSourcesResult](./cucumber.iloadsourcesresult.md) > [errors](./cucumber.iloadsourcesresult.errors.md) | ||
|
||
## ILoadSourcesResult.errors property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
errors: ISourcesError[]; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [ILoadSourcesResult](./cucumber.iloadsourcesresult.md) | ||
|
||
## ILoadSourcesResult interface | ||
|
||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ILoadSourcesResult | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [errors](./cucumber.iloadsourcesresult.errors.md) | [ISourcesError](./cucumber.isourceserror.md)<!-- -->\[\] | | | ||
| [plan](./cucumber.iloadsourcesresult.plan.md) | [IPlannedPickle](./cucumber.iplannedpickle.md)<!-- -->\[\] | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [ILoadSourcesResult](./cucumber.iloadsourcesresult.md) > [plan](./cucumber.iloadsourcesresult.plan.md) | ||
|
||
## ILoadSourcesResult.plan property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
plan: IPlannedPickle[]; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [IPlannedPickle](./cucumber.iplannedpickle.md) > [location](./cucumber.iplannedpickle.location.md) | ||
|
||
## IPlannedPickle.location property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
location: { | ||
line: number; | ||
column?: number; | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [IPlannedPickle](./cucumber.iplannedpickle.md) | ||
|
||
## IPlannedPickle interface | ||
|
||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface IPlannedPickle | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [location](./cucumber.iplannedpickle.location.md) | { line: number; column?: number; } | | | ||
| [name](./cucumber.iplannedpickle.name.md) | string | | | ||
| [uri](./cucumber.iplannedpickle.uri.md) | string | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [IPlannedPickle](./cucumber.iplannedpickle.md) > [name](./cucumber.iplannedpickle.name.md) | ||
|
||
## IPlannedPickle.name property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
name: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [IPlannedPickle](./cucumber.iplannedpickle.md) > [uri](./cucumber.iplannedpickle.uri.md) | ||
|
||
## IPlannedPickle.uri property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
uri: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [ISourcesError](./cucumber.isourceserror.md) > [location](./cucumber.isourceserror.location.md) | ||
|
||
## ISourcesError.location property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
location: { | ||
line: number; | ||
column?: number; | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [ISourcesError](./cucumber.isourceserror.md) | ||
|
||
## ISourcesError interface | ||
|
||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ISourcesError | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [location](./cucumber.isourceserror.location.md) | { line: number; column?: number; } | | | ||
| [message](./cucumber.isourceserror.message.md) | string | | | ||
| [uri](./cucumber.isourceserror.uri.md) | string | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [ISourcesError](./cucumber.isourceserror.md) > [message](./cucumber.isourceserror.message.md) | ||
|
||
## ISourcesError.message property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
message: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [ISourcesError](./cucumber.isourceserror.md) > [uri](./cucumber.isourceserror.uri.md) | ||
|
||
## ISourcesError.uri property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
uri: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@cucumber/cucumber](./cucumber.md) > [loadSources](./cucumber.loadsources.md) | ||
|
||
## loadSources() function | ||
|
||
Load and parse features, produce a filtered and ordered test plan and/or parse errors. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare function loadSources(coordinates: ISourcesCoordinates, environment?: IRunEnvironment): Promise<ILoadSourcesResult>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| coordinates | [ISourcesCoordinates](./cucumber.isourcescoordinates.md) | Coordinates required to find features | | ||
| environment | [IRunEnvironment](./cucumber.irunenvironment.md) | Project environment. | | ||
|
||
<b>Returns:</b> | ||
|
||
Promise<[ILoadSourcesResult](./cucumber.iloadsourcesresult.md)<!-- -->> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.