-
Notifications
You must be signed in to change notification settings - Fork 19
Generated step stubs
Tyler-Keith-Thompson edited this page Mar 17, 2019
·
1 revision
Writing regex can be a pain, rather than make you look up everything CucumberSwift will help you out by generating swift code with stubs for step definitions. Take a look in your report navigator. Expand the last test run and, if there are any unimplemented steps you will see a class called GenerateStubsIfNecessary
.
If you expand that you'll see a Pending Steps section. Finally expanding that is an attachment called GENERATED_Unimplemented_Step_Definitions.swift
. Open this attachment and you can copy/paste the swift code directly out of it.