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

Add suport for generating reports for non selenium project #25

Merged
merged 9 commits into from
Jan 22, 2015

Conversation

gvozdeva-ira
Copy link
Contributor

Support for using shishito_runner in non selenium project:

  • added new command line parameter: --reporting, default option is "all", other options are "selenium" and "simple"
  • to run non selenium tests with runner: create folder "non_selenium_tests" and put there tests and conftest.py files, if project contain only non selenium tests, then in command line parameter provide --reporting simple

config_path = os.path.join(self.project_root, 'config')
if not os.path.exists(config_path):
return None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd personally put all the code below return None in the else: branch. I know it's not necessary in this case, but I think it could be more readable that way. Just a suggestion though.

config_path = os.path.join(self.project_root, 'config')
#return_configs = []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this :)

sankaritan pushed a commit that referenced this pull request Jan 22, 2015
Add suport for generating reports for non selenium project
@sankaritan sankaritan merged commit 1899a8e into master Jan 22, 2015
@sankaritan sankaritan deleted the reporting_support branch January 27, 2015 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants