kubuntu-council team mailing list archive
-
kubuntu-council team
-
Mailing list archive
-
Message #01357
[Merge] lp:~easy-ufal/ubuntu-manual-tests/improve-1482 into lp:ubuntu-manual-tests
Engineering and Systems Software Research Group - UFAL has proposed merging lp:~easy-ufal/ubuntu-manual-tests/improve-1482 into lp:ubuntu-manual-tests.
Requested reviews:
Ubuntu Testcase Admins (ubuntu-testcase)
For more details, see:
https://code.launchpad.net/~easy-ufal/ubuntu-manual-tests/improve-1482/+merge/468865
Greetings!
The goal of this merge request is to improve test cases by identifying and removing test smells. The term test smell is often used in automated tests but current research has demonstrated that they also exist in natural language test cases. Potential problems they can cause are non-deterministic behavior, incomplete verification, poor maintainability, and loss of productivity.
In this merge request, we address the Misplaced Precondition smell, which is a condition erroneously placed as part of the test actions instead of being treated as an independent precondition.
Instead of focusing on verifying a specific system behavior, the test ends up becoming a confusing mix of preconditions and actions, obscuring the real intent of the test and making it harder to determine its effectiveness. The presence of such smell could lead some testers to fail a test that should not be executed in the first place, which results in non-deterministic behavior.
To remove the Misplaced Precondition smell, the conditions, wrongly placed as action, were extracted and moved to a dedicated field, before the `<dt></dt>` tag and enclosed in the `<em></em>` tag.
References:
Manoel Aranda, et Al. "A Catalog of Transformations to Remove Test Smells in Natural Language Tests." 28th International Conference on Evaluation and Assessment in Software Engineering (EASE 2024).
Elvys Soares, et Al. "Manual Tests Do Smell! Cataloging and Identifying Natural Language Test Smells." 17th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM 2023).
--
Your team Ubuntu Testcase Admins is requested to review the proposed merge of lp:~easy-ufal/ubuntu-manual-tests/improve-1482 into lp:ubuntu-manual-tests.
=== modified file 'testcases/hardware/1482_Wireless Networking'
--- testcases/hardware/1482_Wireless Networking 2013-06-13 21:28:47 +0000
+++ testcases/hardware/1482_Wireless Networking 2024-07-05 19:02:22 +0000
@@ -2,10 +2,15 @@
Case ID: hwn-001
Using Unity
+<em>
+ To perform this test ensure that:
+ <ul>
+ <li>The Network Manager is running and that no networks are currently connected.</li>
+ <li>Wireless is enabled.</li>
+ </ul>
+</em>
<dl>
- <dt>Ensure that Network Manager is running and that no networks are currently connected</dt>
<dt>Open Terminal</dt>
- <dt>Ensure wireless is enabled</dt>
<dt>After approximately 30 seconds, open the network manager</dt>
<dd>Your wireless network is visible</dd>
<dt>Connect to your wireless network</dt>