QA:Testcase ABRT

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m
(edit the test case to match the current ABRT)
 
(4 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
# Check that the ''abrtd'' and ''abrt-applet'' processes are both running.
 
# Check that the ''abrtd'' and ''abrt-applet'' processes are both running.
 
# Kill some running process: <tt>kill -SIGSEGV (pid)</tt>. It must be a process that is part of a signed Fedora package.
 
# Kill some running process: <tt>kill -SIGSEGV (pid)</tt>. It must be a process that is part of a signed Fedora package.
{{admon/warning|When using the Test Days LiveCD|Please don't kill large applications (e.g. Firefox), because the coredumps and downloaded debuginfo packages take large amount of space and it could exhaust all your available memory. Crash tools like calculator instead :)}}
+
# Kill at least two different running processes.
 +
{{admon/warning|When using a live image|Please don't kill large applications (e.g. Firefox), because the coredumps and downloaded debuginfo packages take large amount of space and it could exhaust all your available memory.}}
 +
{{admon/tip|Good candidates|If you don't have your favorite package to crash here are few examples:
 +
* bash
 +
* sleep
 +
* top }}
 
|results=
 
|results=
# The ''abrt-applet'' system tray icon should emerge with notification stating "Crash in package foo-1.2.3 has been detected"
+
# The notification stating "A problem in in package foo-1.2.3 has been detected" should appear
# There are two buttons in the notification:
+
# Clicking the "Report" button should start the reporting wizard (no need to finish the report)
## "Report" -> opens the reporter dialog for the latest detected crash directly
+
## "Open ABRT" -> opens the main window
+
# Clicking on the icon should open ''abrt-gui''
+
# The GUI should let you select and report the crash
+
 
}}
 
}}
[[Category:ABRT_Test_Cases]]
 

Latest revision as of 08:33, 22 October 2012

Description

This test case tests the functionality of the ABRT feature.


How to test

  1. Check that the abrtd and abrt-applet processes are both running.
  2. Kill some running process: kill -SIGSEGV (pid). It must be a process that is part of a signed Fedora package.
  3. Kill at least two different running processes.
Warning (medium size).png
When using a live image
Please don't kill large applications (e.g. Firefox), because the coredumps and downloaded debuginfo packages take large amount of space and it could exhaust all your available memory.
Idea.png
Good candidates
If you don't have your favorite package to crash here are few examples:
  • bash
  • sleep
  • top

Expected Results

  1. The notification stating "A problem in in package foo-1.2.3 has been detected" should appear
  2. Clicking the "Report" button should start the reporting wizard (no need to finish the report)