[
https://issues.apache.org/jira/browse/CB-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14273953#comment-14273953
]
ASF GitHub Bot commented on CB-7067:
------------------------------------
Github user kamrik commented on the pull request:
https://github.com/apache/cordova-lib/pull/51#issuecomment-69623816
At the time I thought the problem of interfering tests would be biting us
much more often but it didn't manifest itself in a while. So I don't think the
extra code and complexity of this change is worth it as part of cordova. It
would be nice, though, to see it as something external.
> run jasmine tests individually
> ------------------------------
>
> Key: CB-7067
> URL: https://issues.apache.org/jira/browse/CB-7067
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Affects Versions: 3.5.0
> Reporter: Josh Soref
> Assignee: Josh Soref
>
> The way we run tests right now has a couple of painful points:
> 1. We can't skip only some tests in a single spec file because jasmine is
> treating all of our tests as a single set run together, and so by saying "I
> want to prefer test X in file A", it's interpreting that as "I don't want to
> run any other tests in any other file unless they are also preferred". That's
> pretty annoying.
> 2. Spys and other manipulations we do in a spec can have adverse impact on
> unrelated tests. Trying to get tests to work thus involves debugging all
> other tests and hunting for common problems.
> Neither of these things pain ports are necessary afaict.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]