farhan5248 / sheep-dog-tools

Eclipse and Maven plug-ins to help manual testers support developers adopting bdd and tdd using lean principles
GNU General Public License v3.0
0 stars 0 forks source link

I finished the code generation tutorial #10

Closed farhan5248 closed 1 year ago

farhan5248 commented 1 year ago

It can be found here: https://eclipse.dev/Xtext/documentation/103_domainmodelnextsteps.html#tutorial-code-generation

I basically create an empty Java file. I won't be using the templates because:

  1. Multiple feature files correspond to one Java file
  2. I can't tell if there's no way to reverse the Java code which would be expected if the framework expects one to have a 1 to 1 mapping between DSL file and Java file. Without reversing, I'd delete methods derived from other feature files.