Content deleted Content added
Chrisl1991 (talk | contribs) No edit summary |
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.5 |
||
(32 intermediate revisions by 16 users not shown) | |||
Line 1:
{{Multiple issues|
{{Original research|date=July 2009}}
<!-- This article has alot of weasel words, please amend where you can -->▼
{{
}}
A '''test script''' in [[software testing]] is a set of instructions that will be performed on the [[system under test]] to test that the system functions as expected.
There are various means for executing test scripts. These last two types are also done in manual testing.▼
* [[Manual testing]].<ref>{{cite web|url=https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.rational.test.qm.doc/topics/t_construct_scripts.html&scope=null|title=Help - IBM Rational Software|website=jazz.net|access-date=2018-09-12}}</ref><ref>{{cite web |last=Kaner |first=Cem |url=http://www.testingeducation.org/articles/fundamental_challenges_in_software_testing_presentation.pdf |title=Fundamental Challenges in Software Testing |year=2003 |publisher=Florida Tech |page=35 |access-date=2018-09-12 |archive-date=2021-11-16 |archive-url=https://web.archive.org/web/20211116052408/http://www.testingeducation.org/articles/fundamental_challenges_in_software_testing_presentation.pdf |url-status=dead }}</ref> These are more commonly called [[Test case (software)|test case]]s.
* [[Automated testing]].
** Short program written in a programming language used to test part of the functionality of a software system. Test scripts written as a short program can either be written using a special automated functional GUI test tool (such as [[HP QuickTest Professional]], [[SilkTest|Borland SilkTest]], [[IBM TPNS]] and [[Rational Software|Rational Robot]]) or in a well-known [[programming language]] (such as [[C++]], [[C Sharp (programming language)|C#]], [[Tcl]], [[Expect]], [[Java (programming language)|Java]], [[PHP]], [[Perl]], [[Windows Powershell|Powershell]], [[Python (programming language)|Python]], or [[Ruby programming language|Ruby]]). As documented in IEEE, ISO and IEC.<ref>{{cite web|url=http://www.testingstandards.co.uk/bs_7925-1.htm|title=BS 7925-1|website=testingstandards.co.uk|access-date=2018-09-12}}</ref><ref>{{cite web|url=http://www.softwaretestingstandard.org/|title=ISO/IEC/IEEE 29119 Software Testing Standard|website=softwaretestingstandard.org|access-date=2018-09-12}}</ref>
** Extensively parameterized short programs a.k.a. [[Data-driven testing]]
** Reusable steps created in a table a.k.a. [[Keyword-driven testing|keyword-driven]] or [[table-driven testing]].
▲These last two types are also done in manual testing.
== Usage and functionality ==
Automated tests can, like any piece of software, be poorly written or simply break during playback.<ref>{{Cite book |last1=Brambilla |first1=Marco |url=https://books.google.com/books?id=J5EtEAAAQBAJ&dq=Test+script+broken+tests&pg=PA385 |title=Web Engineering: 21st International Conference, ICWE 2021, Biarritz, France, May 18–21, 2021, Proceedings |last2=Chbeir |first2=Richard |last3=Frasincar |first3=Flavius |last4=Manolescu |first4=Ioana |date=2021-05-11 |publisher=Springer Nature |isbn=978-3-030-74296-6 |language=en}}</ref> They also can only examine what they have been programmed to examine. Since most systems are designed with human interaction in mind, it is good practice that a human tests the system at some point. A trained manual tester can notice that the system under test is misbehaving without being prompted or directed; automated tests can only examine what they have been programmed to examine. When used in regression testing, manual testers can find new bugs while ensuring that old bugs do not reappear while an automated test can only ensure the latter. Mixed testing, with automated and manual testing, is often used; automating what needs to be tested often and can be easily checked by a machine, and using manual testing to do [[test design]] and [[exploratory testing]].
One
==See also==
*[[Software testing]]
*[[Unit test]]
*[[Test plan]]
*[[Test suite]]
*[[Scenario testing]]
*[[Session-based test]]ing
== References ==
{{reflist}}
[[Category:Software testing]]
{{Soft-eng-stub}}
|