Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

feat(frameworks/cli): add ability for jasmine to produce json result out... #1449

Closed
wants to merge 1 commit into from

Conversation

hankduan
Copy link
Contributor

...put

@@ -66,10 +59,54 @@ exports.run = function(runner, specs) {
};

deferred.resolve(resolvedObj);
}catch(err){
} catch(err){
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for fixing - can you add a space after the ) as well?

@juliemr
Copy link
Member

juliemr commented Oct 28, 2014

Hm, I feel like instead of doing this manually for Jasmine and Mocha, we should extend the runner events to emit some data about the test with the 'testPass' / 'testFail' events, and then be able to attach a reporter from the launcher.

@hankduan
Copy link
Contributor Author

Ok, in that case, it's going to involve a relatively big launcher refactor.
Currently launcher does not listen to messages when it only launches single runner (i.e. same process), and just streams the data.

But I think this refactor would be good as it makes the code for multi/single runner more similar, and removes duplication in this PR. I'll work on that and send another PR

@hankduan
Copy link
Contributor Author

hankduan commented Nov 3, 2014

Closing as completely replaced by #1485

@hankduan hankduan closed this Nov 3, 2014
@hankduan hankduan deleted the jsonOutputOption branch November 26, 2014 21:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants