Get started
Fast guide to jump into Autokin development
The best way to get started is to run examples and play around with it. Simply, in few minutes you have your working automated test.
Before we start, Get Node!
Autokin works with NodeJS, and it must be installed first before anything. You can work with the latest or atleast v12. To install you can download from here and choose the correct package for your machine: https://nodejs.org/en/download/
If you want to maintain cleanliness or organization of your Node versions, please use this version manager for Node: https://github.com/nvm-sh/nvm
You can follow installation instructions that can be found on both links. Once you have Node in your system, you can now proceed to the next steps. Enjoy!
Create an Autokin Project
To kickstart, let's start by creating a project folder.
Name the folder anything that you see fit. Before proceeding to next step make sure that you are inside the new folder.
Installation
Next, let's install autokin.
It is assumed that you have your NodeJS environment setup. If you need more guidance on this, please see www.nodejs.org
Generate boilerplate project
Autokin comes with a very very simple boilerplate project, which comes with a single scenario where you can build your own on top of it. To generate the project, use the following command:
This will create the necessary folder structure and sample files.
Let's run the test!
Running your first Autokin test
Now, you are ready to go. Run our Autokin test, just follow this command:
This will pickup all the Gherkin test with .feature extension file under the features folder. It should have the following output:
Runtime Options
Last updated