Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Meta file #21

Closed
martino-jelli opened this issue Apr 20, 2016 · 4 comments
Closed

Multiple Meta file #21

martino-jelli opened this issue Apr 20, 2016 · 4 comments

Comments

@martino-jelli
Copy link

Hi gwen Team!

Would be nice to have the option to have more than one meta file per folder.

The reason behind this request is that, like in my case, I need to have an extra metafile ,common.meta file where to specify common methods, like login and logout.

@bjuric
Copy link
Contributor

bjuric commented Apr 20, 2016

Hi, have you tried one of the following options?

  1. Put the common.meta in your top level features folder (assuming all your other meta is in subfolders)
  2. Put the common.meta outside of your features folder and pass it in using the -m <dir>/common.meta command line option. This option also accepts a comma separated list of meta files if you need to load more.

Otherwise perhaps provide more details. We currently only support one meta per folder for auto discovery since we cannot guarantee load order of many.

@bradywood
Copy link
Contributor

Hi Martino,
Just checking if the folder option helped with your common meta. If so can we close this issue?

@bjuric
Copy link
Contributor

bjuric commented Jun 9, 2016

I will add this capability. If loading order causes a problem, then it will be raised or detected one way or another. If you ensure that your meta files have no 'load time' dependencies between each other, then you will never have this problem. It will be worthwhile having this feature.Thanks

@bjuric
Copy link
Contributor

bjuric commented Jun 21, 2016

Delivered in gwen v1.3.0 and gwen-web v1.5.0

@bjuric bjuric closed this as completed Jun 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants