TestNG beginner's guide. (2013)
- Record Type:
- Book
- Title:
- TestNG beginner's guide. (2013)
- Main Title:
- TestNG beginner's guide
- Further Information:
- Note: Varun Menon.
- Other Names:
- Menon, Varun
- Contents:
- Cover; Copyright; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; Testing and test automation; TestNG; Features of TestNG; Downloading TestNG; Prerequisites; Installing TestNG onto Eclipse; Time for action -- installing TestNG onto Eclipse; Writing your first TestNG test; The Java project; Time for action -- creating a Java project; Time for action -- creating your first TestNG class; Running your first test program; Time for action -- running tests through Eclipse; Summary. Chapter 2: Understanding testng.xmlAbout testng.xml; Creating a test suite; Time for action -- creating a test suite; Running testng.xml; Using command prompt; Time for action -- running testng.xml through the command prompt; Using Eclipse; Time for action -- executing testng.xml using Eclipse; Time for action -- configuring Eclipse to run a particular TestNG XML file; Creating multiple tests; Time for action -- testng XML with multiple tests; Adding classes, packages, and methods to test; Sample project; Creating a test with classes; Time for action -- creating a test with classes. Creating a test using packagesTime for action -- creating a test with packages; Creating a test with methods; Time for action -- creating a test with methods; Creating a test with packages, classes, and methods; Time for action -- creating a test suite with package, class, and test method; Including and excluding; Include/excludeCover; Copyright; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; Testing and test automation; TestNG; Features of TestNG; Downloading TestNG; Prerequisites; Installing TestNG onto Eclipse; Time for action -- installing TestNG onto Eclipse; Writing your first TestNG test; The Java project; Time for action -- creating a Java project; Time for action -- creating your first TestNG class; Running your first test program; Time for action -- running tests through Eclipse; Summary. Chapter 2: Understanding testng.xmlAbout testng.xml; Creating a test suite; Time for action -- creating a test suite; Running testng.xml; Using command prompt; Time for action -- running testng.xml through the command prompt; Using Eclipse; Time for action -- executing testng.xml using Eclipse; Time for action -- configuring Eclipse to run a particular TestNG XML file; Creating multiple tests; Time for action -- testng XML with multiple tests; Adding classes, packages, and methods to test; Sample project; Creating a test with classes; Time for action -- creating a test with classes. Creating a test using packagesTime for action -- creating a test with packages; Creating a test with methods; Time for action -- creating a test with methods; Creating a test with packages, classes, and methods; Time for action -- creating a test suite with package, class, and test method; Including and excluding; Include/exclude packages; Time for action -- test suite to include a particular package; Time for action -- test suite to exclude a particular package; Include/exclude methods; Time for action -- test suite to exclude a particular method; Using regular expressions to include/exclude. Prerequisite -- creating a sample projectTime for action -- using regular expressions for test; Summary; Chapter 3: Annotations; Annotations in TestNG; Before and After annotations; Time for action -- running the Before and After annotations; Time for action -- Before and After annotation when extended; Test annotation; Time for action -- using test annotation on class; Disabling a test; Time for action -- disabling a test method; Exception test; Time for action -- writing an exception test; Time for action -- writing a exception test verifying message; Time test. Time for action -- time test at suite levelTime for action -- time test at test method level; Parameterization of test; Parameterization through testng.xml; Time for action -- parameterization through testng.xml; Time for action -- providing optional values; DataProvider; Time for action -- using Test annotation on Class; Time for action -- DataProvider in different class; Summary; Chapter 4: Groups; Grouping tests; Time for action -- creating test that belong to a group; Running a TestNG group; Using Eclipse; Time for action -- running a TestNG group through Eclipse; Using the testng XML. Time for action -- running a TestNG group using the testng XML. … (more)
- Publisher Details:
- Birmingham, UK : Packt Pub
- Publication Date:
- 2013
- Extent:
- 1 online resource (vi, 257 pages :), illustrations
- Subjects:
- 005.13
COMPUTERS -- Programming -- Open Source
Computer software -- Testing
Computer programs -- Testing
Computer software -- Testing
Computer software
Java (Computer program language)
Computer programs -- Testing
Computer programs -- Testing
Computer software -- Testing
Electronic books
Llibres electrònics
Electronic books - Languages:
- English
- ISBNs:
- 9781782166016
1782166017 - Related ISBNs:
- 1782166009
1782166017
9781782166009 - Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.86733
- Ingest File:
- 01_009.xml