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

separate RSpec handling in runner #371

Merged
merged 10 commits into from
Jan 19, 2016
Merged

separate RSpec handling in runner #371

merged 10 commits into from
Jan 19, 2016

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented Jan 16, 2016

This has so far prevented us from writing some critical unit tests for profile structure and test loading. By separating it and adding a Mock runner we can now test for profile structure. (more MRs to come)

@srenatus srenatus self-assigned this Jan 19, 2016
@srenatus srenatus added the Type: Enhancement Improves an existing feature label Jan 19, 2016
@srenatus
Copy link
Contributor

sigh turning down concurrency solves the issue locally, but triggers a timeout (no output for 10 minutes) on Travis. 😒

@srenatus
Copy link
Contributor

It's not a train issue after all, https://travis-ci.org/chef/inspec/jobs/102517662 uses 0.9.4, too, and I've just re-run its tests successfully.

#
# @param backend [BackendRunner] exposing the target to resources
# @return [ResourcesDSL]
def self.create_dsl(backend)
Copy link
Contributor

Choose a reason for hiding this comment

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

much better to have the dsl in here ...

@chris-rock
Copy link
Contributor

@arlimus awesome work to bring rspec under control and to enable better unit testing. 💯
@srenatus I reversed your commit, travis is green again...

chris-rock added a commit that referenced this pull request Jan 19, 2016
separate RSpec handling in runner
@chris-rock chris-rock merged commit 73006e4 into master Jan 19, 2016
@chris-rock chris-rock deleted the dr/separate-rspec branch January 19, 2016 21:59
@srenatus
Copy link
Contributor

@chris-rock thanks a lot! Any ideas what had happened here?

@chris-rock chris-rock added this to the 0.9.10 milestone Jan 22, 2016
@chris-rock chris-rock assigned arlimus and unassigned srenatus Jan 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants