You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Darryl Pogue (JIRA)" <ji...@apache.org> on 2018/05/13 05:25:00 UTC
[jira] [Resolved] (CB-7067) run jasmine tests individually
[ https://issues.apache.org/jira/browse/CB-7067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darryl Pogue resolved CB-7067.
------------------------------
Resolution: Fixed
> run jasmine tests individually
> ------------------------------
>
> Key: CB-7067
> URL: https://issues.apache.org/jira/browse/CB-7067
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-lib
> Affects Versions: 3.5.0
> Reporter: Josh Soref
> Assignee: Josh Soref
> Priority: Major
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org