Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cucumber-expressions to generate the match in fake-cucumber #793

Merged
merged 67 commits into from
Nov 22, 2019
Merged
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
a8fae4f
fake-cucumber: Reorganize stepDefinitions handling
vincent-psarga Nov 13, 2019
b6dfe41
Use CucumberExpressions to generate the correct match
vincent-psarga Nov 13, 2019
1e7fb19
Reorganize Makefile as fake-cucumber now relies on cucumber-expressions
vincent-psarga Nov 13, 2019
4a5820f
Add default step "I have {int} cukes in my belly"
vincent-psarga Nov 13, 2019
9eb54bb
Move cucumber-expressions at the beginning of the dependencies
vincent-psarga Nov 13, 2019
3bcb972
fake-cucumber: WIP add StepDefinitionRegistry
vincent-psarga Nov 14, 2019
0f87a27
Add SupportCodeExecutor
aslakhellesoy Nov 14, 2019
96b707e
Fix broke test
aslakhellesoy Nov 14, 2019
18b1ee9
Formatting
aslakhellesoy Nov 14, 2019
3e88a88
Add failing test for next coding session
aslakhellesoy Nov 14, 2019
948ceac
Merge master
aslakhellesoy Nov 15, 2019
aded1b6
Do not return the SupportCodeExecutor result directly but compute sta…
vincent-psarga Nov 15, 2019
fc5baa8
First naive implementation for StepDefinition.toMessage()
vincent-psarga Nov 15, 2019
1cf9bca
fake-cucumber: StepDefinitionRegistry bubbles up error thrown by Supp…
vincent-psarga Nov 15, 2019
7c448ad
Add method 'toMessages' to StepDefinitionRegistry
vincent-psarga Nov 15, 2019
4371788
fake-cucumber: stream StepDefinitionDefinitions for StepDefinitionReg…
vincent-psarga Nov 15, 2019
767c665
fake-cucumber: use StepDefinitionRegistry to produce TestStep messages
vincent-psarga Nov 15, 2019
ce20c6e
Refactor/reformat
aslakhellesoy Nov 15, 2019
1807b65
Refactor
aslakhellesoy Nov 15, 2019
ee9ef80
Decouple IPickleStep from registry
aslakhellesoy Nov 15, 2019
0b8402e
Refactor
aslakhellesoy Nov 15, 2019
075fb38
Refactor
aslakhellesoy Nov 15, 2019
8d48bae
fake-cucumber: add TestStep class which handles the execution and tra…
vincent-psarga Nov 15, 2019
cd5a33c
fake-cucumber: move tests to a better place
vincent-psarga Nov 15, 2019
c1d0b36
fake-cucumber: use step definitions to generate the results
vincent-psarga Nov 15, 2019
b0e13d8
Formatting
aslakhellesoy Nov 15, 2019
c14200a
Remove dead code
aslakhellesoy Nov 15, 2019
3309255
Run tslint --fix on all TypeScript code as part of build
aslakhellesoy Nov 18, 2019
b92cb1d
Merge tslint branch, fix broken test in cucumber-query
aslakhellesoy Nov 18, 2019
ab628e9
Introduce Notifier for execution
aslakhellesoy Nov 18, 2019
79aee62
Let TestCase emit messages about test execution
vincent-psarga Nov 18, 2019
88ae120
Do not emit the TestCase message during execution but before
vincent-psarga Nov 18, 2019
ba74485
json-formatter: Add some debugging informations
vincent-psarga Nov 19, 2019
c619855
fake-cucumber: TestSTep should produce a Duration too
vincent-psarga Nov 19, 2019
c4a89ee
Make attempt a parameter
aslakhellesoy Nov 19, 2019
e29ab9e
Extract helpers
aslakhellesoy Nov 19, 2019
f9827d0
Add TestPlan
aslakhellesoy Nov 19, 2019
388276e
Renames
aslakhellesoy Nov 20, 2019
2e90268
Separate formatting from logic
aslakhellesoy Nov 20, 2019
2677180
Refactor
aslakhellesoy Nov 20, 2019
6a5bdf8
New CLI
aslakhellesoy Nov 20, 2019
6445747
Diagram for data flow
aslakhellesoy Nov 20, 2019
5746c39
Replace FakeTestResultsStream with CucumberStream
aslakhellesoy Nov 20, 2019
0559180
Use CucumberStream
aslakhellesoy Nov 20, 2019
aa13bca
Persist cucumber-expressions
aslakhellesoy Nov 20, 2019
1137f78
Fix merge conflict
aslakhellesoy Nov 20, 2019
e6bdeee
Bind encodeDelimited
aslakhellesoy Nov 20, 2019
7e932e9
Add parameters
aslakhellesoy Nov 20, 2019
d57441f
Start work on Json Step Definitions
aslakhellesoy Nov 20, 2019
b5b03e0
Add a Circle dependency
aslakhellesoy Nov 20, 2019
028bcf7
Document Cucumber Query API
aslakhellesoy Nov 21, 2019
8bc026e
Document (fake) Cucumber data flow
aslakhellesoy Nov 21, 2019
fd30da5
Docs
aslakhellesoy Nov 21, 2019
dc89c34
Delete JSON step defs - they will move to a new module
aslakhellesoy Nov 21, 2019
fea8472
Hide id field
aslakhellesoy Nov 21, 2019
b1c56ac
Fix circle config
aslakhellesoy Nov 21, 2019
8d39ea3
Add .NET to cucumber-query API
aslakhellesoy Nov 21, 2019
f0eb239
Sync proto files
aslakhellesoy Nov 21, 2019
7671479
Add extra dummy expressions
vincent-psarga Nov 21, 2019
16e0a9c
Field rename
aslakhellesoy Nov 21, 2019
3cfcf3c
Regenerate go file
aslakhellesoy Nov 21, 2019
6f08950
Add integrity check
aslakhellesoy Nov 22, 2019
b10b0c4
Merge branch 'fake-cucumber-use-cucumber-expressions' of github.com:c…
aslakhellesoy Nov 22, 2019
5e5b7b9
Merge branch 'master' into fake-cucumber-use-cucumber-expressions
aslakhellesoy Nov 22, 2019
efe4d13
Reformat code
aslakhellesoy Nov 22, 2019
dfa019b
Merge branch 'master' into fake-cucumber-use-cucumber-expressions
aslakhellesoy Nov 22, 2019
0f43b81
Update changelog
aslakhellesoy Nov 22, 2019
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ SHELL := /usr/bin/env bash
MAKEFILES=c21e/Makefile \
cucumber-messages/Makefile \
gherkin/Makefile \
fake-cucumber/Makefile \
cucumber-query/Makefile \
cucumber-react/Makefile \
html-formatter/Makefile \
json-formatter/Makefile \
datatable/Makefile \
config/Makefile \
cucumber-expressions/Makefile \
fake-cucumber/Makefile \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependency order is now wrong because cucumber-query’s tests depends on fake-cucumber.

Better to move cucumber-expressions up and leave fake-cucumber where it was.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed, and the formatters also depend on this library. I fix that in the next commit.

tag-expressions/Makefile \
dots-formatter/Makefile \
cucumber-demo-formatter/Makefile
Expand Down