DevTools/Features/ConsoleObjectCompletion/Test Plan: Difference between revisions

No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Feature/subfeature to test =  
= Web Console/ConsoleObjectCompletion =  
; Console Object Completion is a feature integrated into the Web Console (named generically 'sub-feature') therefore the testing approach will be similar and in interaction with the main feature.


== General info/Overview ==
== General info/Overview ==
; What is the feature intended for? Some brief details about purpose and basic functionality
This feature tracks work that was originally blended into the [[DevTools/Features/WebConsole7|WebConsole7]] feature, but not completed for Firefox 7.
 
When the Web Console shipped with Firefox 4, it provided the first <tt>console</tt> object to be always available to content in Firefox. It provided enough of the <tt>console</tt> object to be useful (console.log being by far the most popular method on the object). However, it was still lacking in features that developers commonly use.
|Feature users and use cases=You can open up the Web Console and type <tt>console.dir(window)</tt> and see a set of properties and values from the window object in the console object.
 
In a JavaScript program, you can use <tt>console.group</tt> and <tt>console.groupEnd</tt> to visually group together related log messages.
|Feature requirements=* The <tt>console</tt> object implements the portion of [http://getfirebug.com/wiki/index.php/Console_API the API] that is implemented by both Firebug and WebKit. Notably, this includes time, timeEnd, dir, group and groupEnd.


== Feature page ==
== Feature page ==
; Link and details about the feature page
[https://wiki.mozilla.org/DevTools/Features/ConsoleObjectCompletion https://wiki.mozilla.org/DevTools/Features/ConsoleObjectCompletion]


== Tracking bug ==  
== Tracking bug ==  
; Should contain the bugzilla link of the feature tracking bug  
; Tracking bug is divided for this feature, meaning
;; {{bug|658368}} for time/timeEnd
;; {{bug|664131}} for group/groupEnd


== Feature status ==  
== Feature status ==  
Line 26: Line 35:
== Team ==  
== Team ==  
; Team members  
; Team members  
* Development  
* ''Development :'' Kevin Dangoor, Panos Astithas
* Security
* Security
* QA
* ''QA :'' Vlad Maniac (irc: vladmaniac)
* Contributors  
* ''Contributors :'' AlexLakatos (irc: AlexLakatos)
* Other members
* Other members


== Builds ==  
== Builds ==  
; Available builds for testing the feature with prioritization order clearly noted
; Available builds : feature is landed in Firefox 10
;; [ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/ '''DOWNLOAD BUILDS''' - latest-mozilla-aurora] 
;; [http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ '''DOWNLOAD BUILDS''' - latest-mozilla-nightly]
; Mochitests available (link to mochitests and what has been covered by mochitests)
; Mochitests available (link to mochitests and what has been covered by mochitests)


Line 40: Line 51:
=== Prerequisites ===
=== Prerequisites ===
; Environment needed
; Environment needed
* Firefox clean build with new profile  [http://kb.mozillazine.org/Profile_manager How To?]
* Firefox 'dirty' profile
; Settings  
; Settings  
* No extra settings needed
; Preparations for test
; Preparations for test
* No extra preparations needed
; Areas planned to be covered by testing
; Areas planned to be covered by testing
* Functional
; Areas that will not be covered by testing (not in scope)
; Areas that will not be covered by testing (not in scope)
* Automation


=== Use cases ===
=== Use cases ===
; List the use cases for this feature and how are these assessed.
; group/groupEnd
console.group(object[, object, ...])
 
Writes a message to the console and opens a nested block to indent all future messages sent to the console. Call console.groupEnd() to close the block.
 
console.groupCollapsed(object[, object, ...])
 
Like console.group(), but the block is initially collapsed.
 
console.groupEnd()
 
Closes the most recently opened block created by a call to console.group() or console.groupCollapsed()
; time/timeEnd
console.time(name)
 
Creates a new timer under the given name. Call console.timeEnd(name) with the same name to stop the timer and print the time elapsed..
 
console.timeEnd(name)
 
Stops a timer created by a call to console.time(name) and writes the time elapsed.


=== Focus on ===  
=== Focus on ===  
; Prioritization
; {{done|}} Functionality of console.group(), console.groupEnd(), console.time(), console.timeEnd()
; {{ok|}}Corner cases 
* Optional, does not affect the sign-off criteria


=== Bug queries  ===
=== Bug queries  ===
; Bugzilla queries for  
; See the [http://mozilla.github.com/devtools/status/index.html#consoleobj PROJECT STATUS PAGE] for feature bugs and dependencies
* unconfirmed bugs
* new bugs
* closed bugs
** resolved fixed
** resolved wontfix
** resolved invalid
** resolved incomplete
; General work on bugs
* fixed bugs verifications
* bug confirmations


=== Manual testing ===  
=== Manual testing ===  
; List of testcases and scenarios  
; List of testcases and scenarios  
* For this feature in particular, testcases can be identified with the use cases
; Corner cases (optional)  
; Corner cases (optional)  
; Exploratory testing  
; Exploratory testing


=== Automation ===
=== Automation ===
; Planning
; NOT COVERED
; Coverage information
; Guidance to run automation
; Guidance to create tests


=== Results ===  
=== Results ===  
; Platform
; {{done|}} '''Basic Functionality'''
; Results
 
* PASS/FAIL
;; Platform
; Comments/Unreproducible issues
* Windows PASS
* Linux PASS
* Mac PASS  
;; Comments/Unreproducible issues
* none so far
 
; {{ok|}} '''Corner cases'''
;; Logged issues as a result of corner cases
* '''{{bug|713197}}'''


=== Sign-off ===  
=== Sign-off ===  
; sign-off criteria  
; sign-off criteria  
* Sign off criteria for merge (Aurora -> Beta)
* Sign off criteria for merge (Aurora -> Beta)
** E.g: All planned tests have been executed. No outstanding issues/regressions have been found.
** Callback of console.group and console.time functions echo desired result
** Basic functionality requirements are addressed
; '''SIGNED - OFF'''
* Sign off criteria for release (Beta -> Released)
* Sign off criteria for release (Beta -> Released)
** E.g: All planned tests have been executed. No outstanding issues/regressions have been found.
** Callback of console.group and console.time functions echo desired result
* (Otilia please add your details)
** Basic functionality requirements are addressed
** Testing coverage of all situations/scenarios cause no blocker bugs
; ''pending''
750

edits