Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Some refactoring to run grep before tests run #146

Merged
merged 2 commits into from Apr 16, 2015

Conversation

hatroman
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 62.5% when pulling 1451f67 on hatroman:feature/grep-before-tests into 3f13891 on bem:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 62.5% when pulling 1451f67 on hatroman:feature/grep-before-tests into 3f13891 on bem:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 62.5% when pulling f8e1a42 on hatroman:feature/grep-before-tests into 3f13891 on bem:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 62.5% when pulling f8e1a42 on hatroman:feature/grep-before-tests into 3f13891 on bem:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 62.5% when pulling 61ede4f on hatroman:feature/grep-before-tests into 3f13891 on bem:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 62.5% when pulling 61ede4f on hatroman:feature/grep-before-tests into 3f13891 on bem:master.

@@ -28,123 +29,125 @@ function requireWithNoCache(moduleName) {
return result;
}

module.exports = inherit(ChainedEmitter, {
module.exports = inherit(EventEmitter, {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why?
ChainedEmmiter was there for the plugins needs. Basically, it allows to return a promise from event handler and delay the further execution until that promise resolves. This allows, for example, to launch SauceConnect or ssh-tunnel before any tests are launched.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

По коду это совершенно непонятно, а то единственное использование ChainedReporter, что я нашел, выглядело очень натянуто.
Либо как-то странно реализована поддержка плагинов, либо нужно более явно в коде объяснить, почему нужно делать именно так, а не иначе.
Плохое архитектурное решение, кмк.

@hatroman hatroman force-pushed the feature/grep-before-tests branch 2 times, most recently from 11be320 to 64ae9e1 Compare April 15, 2015 10:15
@coveralls
Copy link

Coverage Status

Coverage remained the same at 62.5% when pulling 64ae9e1 on hatroman:feature/grep-before-tests into d020587 on bem:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 62.5% when pulling 1a92664 on hatroman:feature/grep-before-tests into 8a89a6a on bem:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 62.5% when pulling 1a92664 on hatroman:feature/grep-before-tests into 8a89a6a on bem:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 62.5% when pulling 111fcf5 on hatroman:feature/grep-before-tests into 8a89a6a on bem:master.

SevInf pushed a commit that referenced this pull request Apr 16, 2015
Some refactoring to run grep before tests run
@SevInf SevInf merged commit 8b49677 into gemini-testing:master Apr 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants