Proper usage of cucumber with typescript?
I was following a tutorial but the setup is really bad. Basically it uses typescript to convert .ts files to .js. So basically pollutes your whole source code with .js files around.
So as soon as you import your .ts file from source code, all dependencies are duplicated with a .js file.
Do you know how to do proper typescript cucumber tests?
A hacky solution: Copy all features and all files to another temp folder, run from there. I would expect cucumber to be a bit more mature than this, hence my question here?
Or change the configuration of cucumber to look in the build folder from ts.
Thank you
Why just using typescript won't work:
Code structure:
- tests
- a.feature
- stepDefinitions.ts
Now you will compile the typescript and have this structure:
- tests
- a.feature
- stepDefinitions.ts
- build
- tests
- stepDefinitions.js
- tests
Now you can see that stepDefinitions.js
has no idea where to find a.feature
. If you run cucumber on the build/test folder it won't find any step feature to run... because well, they are in the tests folder. So the hacky way to fix it is to copy over the features files resulting this structure:
- tests
- a.feature
- stepDefinitions.ts
- build
- tests
- a.feature
- stepDefinitions.js
- tests
Now it will work but is hacky, I don't like it.
typescript cucumber cucumberjs
add a comment |
I was following a tutorial but the setup is really bad. Basically it uses typescript to convert .ts files to .js. So basically pollutes your whole source code with .js files around.
So as soon as you import your .ts file from source code, all dependencies are duplicated with a .js file.
Do you know how to do proper typescript cucumber tests?
A hacky solution: Copy all features and all files to another temp folder, run from there. I would expect cucumber to be a bit more mature than this, hence my question here?
Or change the configuration of cucumber to look in the build folder from ts.
Thank you
Why just using typescript won't work:
Code structure:
- tests
- a.feature
- stepDefinitions.ts
Now you will compile the typescript and have this structure:
- tests
- a.feature
- stepDefinitions.ts
- build
- tests
- stepDefinitions.js
- tests
Now you can see that stepDefinitions.js
has no idea where to find a.feature
. If you run cucumber on the build/test folder it won't find any step feature to run... because well, they are in the tests folder. So the hacky way to fix it is to copy over the features files resulting this structure:
- tests
- a.feature
- stepDefinitions.ts
- build
- tests
- a.feature
- stepDefinitions.js
- tests
Now it will work but is hacky, I don't like it.
typescript cucumber cucumberjs
The cucumberjs project has pretty good documentation on GitHub that might help you. Otherwise you can join the Cucumber slack to get some specific help from the community.
– Marit
Oct 30 '18 at 13:48
@Marit the homepage and the faq don't mention "typescript", can please you point it out with a specific link?
– Totty.js
Oct 31 '18 at 4:28
Sorry I don't use typescript/javascript myself, but there are plenty of active users & committers for the javascript version who should be able to help you.
– Marit
Oct 31 '18 at 13:12
add a comment |
I was following a tutorial but the setup is really bad. Basically it uses typescript to convert .ts files to .js. So basically pollutes your whole source code with .js files around.
So as soon as you import your .ts file from source code, all dependencies are duplicated with a .js file.
Do you know how to do proper typescript cucumber tests?
A hacky solution: Copy all features and all files to another temp folder, run from there. I would expect cucumber to be a bit more mature than this, hence my question here?
Or change the configuration of cucumber to look in the build folder from ts.
Thank you
Why just using typescript won't work:
Code structure:
- tests
- a.feature
- stepDefinitions.ts
Now you will compile the typescript and have this structure:
- tests
- a.feature
- stepDefinitions.ts
- build
- tests
- stepDefinitions.js
- tests
Now you can see that stepDefinitions.js
has no idea where to find a.feature
. If you run cucumber on the build/test folder it won't find any step feature to run... because well, they are in the tests folder. So the hacky way to fix it is to copy over the features files resulting this structure:
- tests
- a.feature
- stepDefinitions.ts
- build
- tests
- a.feature
- stepDefinitions.js
- tests
Now it will work but is hacky, I don't like it.
typescript cucumber cucumberjs
I was following a tutorial but the setup is really bad. Basically it uses typescript to convert .ts files to .js. So basically pollutes your whole source code with .js files around.
So as soon as you import your .ts file from source code, all dependencies are duplicated with a .js file.
Do you know how to do proper typescript cucumber tests?
A hacky solution: Copy all features and all files to another temp folder, run from there. I would expect cucumber to be a bit more mature than this, hence my question here?
Or change the configuration of cucumber to look in the build folder from ts.
Thank you
Why just using typescript won't work:
Code structure:
- tests
- a.feature
- stepDefinitions.ts
Now you will compile the typescript and have this structure:
- tests
- a.feature
- stepDefinitions.ts
- build
- tests
- stepDefinitions.js
- tests
Now you can see that stepDefinitions.js
has no idea where to find a.feature
. If you run cucumber on the build/test folder it won't find any step feature to run... because well, they are in the tests folder. So the hacky way to fix it is to copy over the features files resulting this structure:
- tests
- a.feature
- stepDefinitions.ts
- build
- tests
- a.feature
- stepDefinitions.js
- tests
Now it will work but is hacky, I don't like it.
typescript cucumber cucumberjs
typescript cucumber cucumberjs
edited Nov 27 '18 at 8:37
Totty.js
asked Oct 23 '18 at 2:17
Totty.jsTotty.js
6,9161678143
6,9161678143
The cucumberjs project has pretty good documentation on GitHub that might help you. Otherwise you can join the Cucumber slack to get some specific help from the community.
– Marit
Oct 30 '18 at 13:48
@Marit the homepage and the faq don't mention "typescript", can please you point it out with a specific link?
– Totty.js
Oct 31 '18 at 4:28
Sorry I don't use typescript/javascript myself, but there are plenty of active users & committers for the javascript version who should be able to help you.
– Marit
Oct 31 '18 at 13:12
add a comment |
The cucumberjs project has pretty good documentation on GitHub that might help you. Otherwise you can join the Cucumber slack to get some specific help from the community.
– Marit
Oct 30 '18 at 13:48
@Marit the homepage and the faq don't mention "typescript", can please you point it out with a specific link?
– Totty.js
Oct 31 '18 at 4:28
Sorry I don't use typescript/javascript myself, but there are plenty of active users & committers for the javascript version who should be able to help you.
– Marit
Oct 31 '18 at 13:12
The cucumberjs project has pretty good documentation on GitHub that might help you. Otherwise you can join the Cucumber slack to get some specific help from the community.
– Marit
Oct 30 '18 at 13:48
The cucumberjs project has pretty good documentation on GitHub that might help you. Otherwise you can join the Cucumber slack to get some specific help from the community.
– Marit
Oct 30 '18 at 13:48
@Marit the homepage and the faq don't mention "typescript", can please you point it out with a specific link?
– Totty.js
Oct 31 '18 at 4:28
@Marit the homepage and the faq don't mention "typescript", can please you point it out with a specific link?
– Totty.js
Oct 31 '18 at 4:28
Sorry I don't use typescript/javascript myself, but there are plenty of active users & committers for the javascript version who should be able to help you.
– Marit
Oct 31 '18 at 13:12
Sorry I don't use typescript/javascript myself, but there are plenty of active users & committers for the javascript version who should be able to help you.
– Marit
Oct 31 '18 at 13:12
add a comment |
2 Answers
2
active
oldest
votes
Updated answer based on more info provided:
The first thing you should do is separate your features and steps into their own folders
tests
features
a.feature
b.feature
stepDefinitions
aStep.ts
Next, create a cucumber.js file which will be the cucumber profile. I use the following profile but it's up to you what you want to do
var common = [
`--format ${
process.env.CI || !process.stdout.isTTY ? 'progress' : 'progress-bar'
}`,
'--format json:./reports/cucumber-json-reports/report.json',
'--format rerun:@rerun.txt',
'--format usage:usage.txt',
'--parallel 20',
'--require ./build/tests/stepDefinitions/**/*.js',
'--require ./build/tests/stepDefinitions/*.js',
'--require ./build/tests/support/*.js'
].join(' ');
module.exports = {
default: common,
};
The above tells cucumber where your steps are. Now you can run something like the following from the root of the project
tsc && ./node_modules/.bin/cucumber-js ./tests/features/ -p default
This will
- Compile your code
- Run the cucumber-js library
- Run cucumber-js against the features folder
- Run cucumber-js against the features folder with the default profile that you built in your cucumber.js file
1
Thanks, that's how the problem is solved! I was looking for the--require
feature in cucumber, but I missed it somehow.
– Totty.js
Nov 28 '18 at 8:19
1
No problem, the documentation for cucumber-js could do with some cleaning up to help people with this. Glad I could help.
– Raymond Kelly
Nov 28 '18 at 18:01
add a comment |
I'm not following your question? Cucumber has nothing to do with compiling .ts files to .js files, that is typescript doing that. If you don't want the .ts and .js files in the same folder then you can add the following to your tsconfig.json file.
"outDir": "typeScript"
This will output the javascript files to the folder "typeScript" at the root of your project. I personally like to keep them together as it can be easier to debug. There is no way to get away from the .js files being created as they are what are used when running javascript.
The problem is I want to use cucumber + typescript. If you generate the files in that directory they will not read the .feature files... So you need another step to copy over the .feature files in that temporary folder... which is dirty.
– Totty.js
Nov 22 '18 at 3:32
Yes, I have used cucumber and typescript without any problems. I'm not sure I follow why you need to copy folders over to run feature tests that should not be the case. 1. Can you provide the command you are using to run your tests 2. Can you provide a sample project and I will review it and tell you the steps to follow? If not I can put a repository together sometime this week and show you how it works.
– Raymond Kelly
Nov 27 '18 at 5:27
I don't have the code here... but you need to copy features over because you are running js files which are in the outDir which has no idea where the feature files are located.
– Totty.js
Nov 27 '18 at 8:34
Please check my updated question "Why just using typescript won't work:"
– Totty.js
Nov 27 '18 at 8:37
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52940221%2fproper-usage-of-cucumber-with-typescript%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Updated answer based on more info provided:
The first thing you should do is separate your features and steps into their own folders
tests
features
a.feature
b.feature
stepDefinitions
aStep.ts
Next, create a cucumber.js file which will be the cucumber profile. I use the following profile but it's up to you what you want to do
var common = [
`--format ${
process.env.CI || !process.stdout.isTTY ? 'progress' : 'progress-bar'
}`,
'--format json:./reports/cucumber-json-reports/report.json',
'--format rerun:@rerun.txt',
'--format usage:usage.txt',
'--parallel 20',
'--require ./build/tests/stepDefinitions/**/*.js',
'--require ./build/tests/stepDefinitions/*.js',
'--require ./build/tests/support/*.js'
].join(' ');
module.exports = {
default: common,
};
The above tells cucumber where your steps are. Now you can run something like the following from the root of the project
tsc && ./node_modules/.bin/cucumber-js ./tests/features/ -p default
This will
- Compile your code
- Run the cucumber-js library
- Run cucumber-js against the features folder
- Run cucumber-js against the features folder with the default profile that you built in your cucumber.js file
1
Thanks, that's how the problem is solved! I was looking for the--require
feature in cucumber, but I missed it somehow.
– Totty.js
Nov 28 '18 at 8:19
1
No problem, the documentation for cucumber-js could do with some cleaning up to help people with this. Glad I could help.
– Raymond Kelly
Nov 28 '18 at 18:01
add a comment |
Updated answer based on more info provided:
The first thing you should do is separate your features and steps into their own folders
tests
features
a.feature
b.feature
stepDefinitions
aStep.ts
Next, create a cucumber.js file which will be the cucumber profile. I use the following profile but it's up to you what you want to do
var common = [
`--format ${
process.env.CI || !process.stdout.isTTY ? 'progress' : 'progress-bar'
}`,
'--format json:./reports/cucumber-json-reports/report.json',
'--format rerun:@rerun.txt',
'--format usage:usage.txt',
'--parallel 20',
'--require ./build/tests/stepDefinitions/**/*.js',
'--require ./build/tests/stepDefinitions/*.js',
'--require ./build/tests/support/*.js'
].join(' ');
module.exports = {
default: common,
};
The above tells cucumber where your steps are. Now you can run something like the following from the root of the project
tsc && ./node_modules/.bin/cucumber-js ./tests/features/ -p default
This will
- Compile your code
- Run the cucumber-js library
- Run cucumber-js against the features folder
- Run cucumber-js against the features folder with the default profile that you built in your cucumber.js file
1
Thanks, that's how the problem is solved! I was looking for the--require
feature in cucumber, but I missed it somehow.
– Totty.js
Nov 28 '18 at 8:19
1
No problem, the documentation for cucumber-js could do with some cleaning up to help people with this. Glad I could help.
– Raymond Kelly
Nov 28 '18 at 18:01
add a comment |
Updated answer based on more info provided:
The first thing you should do is separate your features and steps into their own folders
tests
features
a.feature
b.feature
stepDefinitions
aStep.ts
Next, create a cucumber.js file which will be the cucumber profile. I use the following profile but it's up to you what you want to do
var common = [
`--format ${
process.env.CI || !process.stdout.isTTY ? 'progress' : 'progress-bar'
}`,
'--format json:./reports/cucumber-json-reports/report.json',
'--format rerun:@rerun.txt',
'--format usage:usage.txt',
'--parallel 20',
'--require ./build/tests/stepDefinitions/**/*.js',
'--require ./build/tests/stepDefinitions/*.js',
'--require ./build/tests/support/*.js'
].join(' ');
module.exports = {
default: common,
};
The above tells cucumber where your steps are. Now you can run something like the following from the root of the project
tsc && ./node_modules/.bin/cucumber-js ./tests/features/ -p default
This will
- Compile your code
- Run the cucumber-js library
- Run cucumber-js against the features folder
- Run cucumber-js against the features folder with the default profile that you built in your cucumber.js file
Updated answer based on more info provided:
The first thing you should do is separate your features and steps into their own folders
tests
features
a.feature
b.feature
stepDefinitions
aStep.ts
Next, create a cucumber.js file which will be the cucumber profile. I use the following profile but it's up to you what you want to do
var common = [
`--format ${
process.env.CI || !process.stdout.isTTY ? 'progress' : 'progress-bar'
}`,
'--format json:./reports/cucumber-json-reports/report.json',
'--format rerun:@rerun.txt',
'--format usage:usage.txt',
'--parallel 20',
'--require ./build/tests/stepDefinitions/**/*.js',
'--require ./build/tests/stepDefinitions/*.js',
'--require ./build/tests/support/*.js'
].join(' ');
module.exports = {
default: common,
};
The above tells cucumber where your steps are. Now you can run something like the following from the root of the project
tsc && ./node_modules/.bin/cucumber-js ./tests/features/ -p default
This will
- Compile your code
- Run the cucumber-js library
- Run cucumber-js against the features folder
- Run cucumber-js against the features folder with the default profile that you built in your cucumber.js file
answered Nov 28 '18 at 0:52
Raymond KellyRaymond Kelly
317214
317214
1
Thanks, that's how the problem is solved! I was looking for the--require
feature in cucumber, but I missed it somehow.
– Totty.js
Nov 28 '18 at 8:19
1
No problem, the documentation for cucumber-js could do with some cleaning up to help people with this. Glad I could help.
– Raymond Kelly
Nov 28 '18 at 18:01
add a comment |
1
Thanks, that's how the problem is solved! I was looking for the--require
feature in cucumber, but I missed it somehow.
– Totty.js
Nov 28 '18 at 8:19
1
No problem, the documentation for cucumber-js could do with some cleaning up to help people with this. Glad I could help.
– Raymond Kelly
Nov 28 '18 at 18:01
1
1
Thanks, that's how the problem is solved! I was looking for the
--require
feature in cucumber, but I missed it somehow.– Totty.js
Nov 28 '18 at 8:19
Thanks, that's how the problem is solved! I was looking for the
--require
feature in cucumber, but I missed it somehow.– Totty.js
Nov 28 '18 at 8:19
1
1
No problem, the documentation for cucumber-js could do with some cleaning up to help people with this. Glad I could help.
– Raymond Kelly
Nov 28 '18 at 18:01
No problem, the documentation for cucumber-js could do with some cleaning up to help people with this. Glad I could help.
– Raymond Kelly
Nov 28 '18 at 18:01
add a comment |
I'm not following your question? Cucumber has nothing to do with compiling .ts files to .js files, that is typescript doing that. If you don't want the .ts and .js files in the same folder then you can add the following to your tsconfig.json file.
"outDir": "typeScript"
This will output the javascript files to the folder "typeScript" at the root of your project. I personally like to keep them together as it can be easier to debug. There is no way to get away from the .js files being created as they are what are used when running javascript.
The problem is I want to use cucumber + typescript. If you generate the files in that directory they will not read the .feature files... So you need another step to copy over the .feature files in that temporary folder... which is dirty.
– Totty.js
Nov 22 '18 at 3:32
Yes, I have used cucumber and typescript without any problems. I'm not sure I follow why you need to copy folders over to run feature tests that should not be the case. 1. Can you provide the command you are using to run your tests 2. Can you provide a sample project and I will review it and tell you the steps to follow? If not I can put a repository together sometime this week and show you how it works.
– Raymond Kelly
Nov 27 '18 at 5:27
I don't have the code here... but you need to copy features over because you are running js files which are in the outDir which has no idea where the feature files are located.
– Totty.js
Nov 27 '18 at 8:34
Please check my updated question "Why just using typescript won't work:"
– Totty.js
Nov 27 '18 at 8:37
add a comment |
I'm not following your question? Cucumber has nothing to do with compiling .ts files to .js files, that is typescript doing that. If you don't want the .ts and .js files in the same folder then you can add the following to your tsconfig.json file.
"outDir": "typeScript"
This will output the javascript files to the folder "typeScript" at the root of your project. I personally like to keep them together as it can be easier to debug. There is no way to get away from the .js files being created as they are what are used when running javascript.
The problem is I want to use cucumber + typescript. If you generate the files in that directory they will not read the .feature files... So you need another step to copy over the .feature files in that temporary folder... which is dirty.
– Totty.js
Nov 22 '18 at 3:32
Yes, I have used cucumber and typescript without any problems. I'm not sure I follow why you need to copy folders over to run feature tests that should not be the case. 1. Can you provide the command you are using to run your tests 2. Can you provide a sample project and I will review it and tell you the steps to follow? If not I can put a repository together sometime this week and show you how it works.
– Raymond Kelly
Nov 27 '18 at 5:27
I don't have the code here... but you need to copy features over because you are running js files which are in the outDir which has no idea where the feature files are located.
– Totty.js
Nov 27 '18 at 8:34
Please check my updated question "Why just using typescript won't work:"
– Totty.js
Nov 27 '18 at 8:37
add a comment |
I'm not following your question? Cucumber has nothing to do with compiling .ts files to .js files, that is typescript doing that. If you don't want the .ts and .js files in the same folder then you can add the following to your tsconfig.json file.
"outDir": "typeScript"
This will output the javascript files to the folder "typeScript" at the root of your project. I personally like to keep them together as it can be easier to debug. There is no way to get away from the .js files being created as they are what are used when running javascript.
I'm not following your question? Cucumber has nothing to do with compiling .ts files to .js files, that is typescript doing that. If you don't want the .ts and .js files in the same folder then you can add the following to your tsconfig.json file.
"outDir": "typeScript"
This will output the javascript files to the folder "typeScript" at the root of your project. I personally like to keep them together as it can be easier to debug. There is no way to get away from the .js files being created as they are what are used when running javascript.
answered Nov 21 '18 at 2:55
Raymond KellyRaymond Kelly
317214
317214
The problem is I want to use cucumber + typescript. If you generate the files in that directory they will not read the .feature files... So you need another step to copy over the .feature files in that temporary folder... which is dirty.
– Totty.js
Nov 22 '18 at 3:32
Yes, I have used cucumber and typescript without any problems. I'm not sure I follow why you need to copy folders over to run feature tests that should not be the case. 1. Can you provide the command you are using to run your tests 2. Can you provide a sample project and I will review it and tell you the steps to follow? If not I can put a repository together sometime this week and show you how it works.
– Raymond Kelly
Nov 27 '18 at 5:27
I don't have the code here... but you need to copy features over because you are running js files which are in the outDir which has no idea where the feature files are located.
– Totty.js
Nov 27 '18 at 8:34
Please check my updated question "Why just using typescript won't work:"
– Totty.js
Nov 27 '18 at 8:37
add a comment |
The problem is I want to use cucumber + typescript. If you generate the files in that directory they will not read the .feature files... So you need another step to copy over the .feature files in that temporary folder... which is dirty.
– Totty.js
Nov 22 '18 at 3:32
Yes, I have used cucumber and typescript without any problems. I'm not sure I follow why you need to copy folders over to run feature tests that should not be the case. 1. Can you provide the command you are using to run your tests 2. Can you provide a sample project and I will review it and tell you the steps to follow? If not I can put a repository together sometime this week and show you how it works.
– Raymond Kelly
Nov 27 '18 at 5:27
I don't have the code here... but you need to copy features over because you are running js files which are in the outDir which has no idea where the feature files are located.
– Totty.js
Nov 27 '18 at 8:34
Please check my updated question "Why just using typescript won't work:"
– Totty.js
Nov 27 '18 at 8:37
The problem is I want to use cucumber + typescript. If you generate the files in that directory they will not read the .feature files... So you need another step to copy over the .feature files in that temporary folder... which is dirty.
– Totty.js
Nov 22 '18 at 3:32
The problem is I want to use cucumber + typescript. If you generate the files in that directory they will not read the .feature files... So you need another step to copy over the .feature files in that temporary folder... which is dirty.
– Totty.js
Nov 22 '18 at 3:32
Yes, I have used cucumber and typescript without any problems. I'm not sure I follow why you need to copy folders over to run feature tests that should not be the case. 1. Can you provide the command you are using to run your tests 2. Can you provide a sample project and I will review it and tell you the steps to follow? If not I can put a repository together sometime this week and show you how it works.
– Raymond Kelly
Nov 27 '18 at 5:27
Yes, I have used cucumber and typescript without any problems. I'm not sure I follow why you need to copy folders over to run feature tests that should not be the case. 1. Can you provide the command you are using to run your tests 2. Can you provide a sample project and I will review it and tell you the steps to follow? If not I can put a repository together sometime this week and show you how it works.
– Raymond Kelly
Nov 27 '18 at 5:27
I don't have the code here... but you need to copy features over because you are running js files which are in the outDir which has no idea where the feature files are located.
– Totty.js
Nov 27 '18 at 8:34
I don't have the code here... but you need to copy features over because you are running js files which are in the outDir which has no idea where the feature files are located.
– Totty.js
Nov 27 '18 at 8:34
Please check my updated question "Why just using typescript won't work:"
– Totty.js
Nov 27 '18 at 8:37
Please check my updated question "Why just using typescript won't work:"
– Totty.js
Nov 27 '18 at 8:37
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52940221%2fproper-usage-of-cucumber-with-typescript%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The cucumberjs project has pretty good documentation on GitHub that might help you. Otherwise you can join the Cucumber slack to get some specific help from the community.
– Marit
Oct 30 '18 at 13:48
@Marit the homepage and the faq don't mention "typescript", can please you point it out with a specific link?
– Totty.js
Oct 31 '18 at 4:28
Sorry I don't use typescript/javascript myself, but there are plenty of active users & committers for the javascript version who should be able to help you.
– Marit
Oct 31 '18 at 13:12