Hello there,
We hope you had an exciting week! Now it is time to lean back and relax. Relax of course means to read our blog đ.
Well, so this week we started with writing our first tests. The test tool we went for is Cucumber. In short this is a tool, which supports the so called behavior-driven development (BDD) and allows expected software behaviors to be specified in a logical language that customers can easily understand. Furthermore these tests will allow us to automatically check the implementation of each use case later on.
To implement our tests with Cucumber we have chosen the programming language Java. We also went for Gherkin Reference to simplify the understanding of the code. Gherkin Reference (Rg) is a set of grammar rules with special keywords: {âScenarioâ, âGivenâ, âWhenâ, âThenâ, “And”, “But”} â Rg. Figure 1 shows you how our test for the use-case “search product” looks like.
Click here, if you are interested in viewing our .feature files and here to see our cucumber tests in action.
Thank you for being interested in our project and as you already know we are always open for your suggestions.
Have a good week!
Your Betterzon Team
Hi Betterzon Team,
nice work regarding these feature file thingies. đ
I also like that you also explain what you are trying to do and give references to further documentation. Not every blog does that so thumbs up for that….
About your feature files. The first one about the search product one makes sense and is fine…. But I can’t seem to find the second one. At least now. Just some demo feature file but that one isn’t really connected to your other use case….
Also one little thing that I’d like to mention. Could you put the contents of those feature files in the actual use case descriptions? I think that is also where they also need to be…. So yeah….
But other than that you seem to be well on your way. Nice work. I’ll be looking forwards to your further development.
Best regards.
Team Futurum
Dear General Kenobi,
We liked your little welcome message at the beginning. Your Feature-Files look great and you gave a good explanation why you wanted to use them. However how is the rest of your project going? We hope everything progressing well. Please tell us more about what is happening in the next post.
Best regards
littleBeasts
PS: Hello There