Our First Test: Get Homepage
Let’s run our first feature test.
We'll cover the following...
We'll cover the following...
Add our first test
The first step is to create a new file for our new feature.
The file can be generated using the following command:
$ touch features/user_registration.feature
We need to add the following text to the newly-generated file:
Run our test
As mentioned previously, the test guides everything we do moving forward. So, the logical next step will be to run the test and see ...