Quality Management Plan Template with Sample Example

Vineet Nanda
Updated on 22-Sep-2021 11:58:10

2K+ Views

Quality Management PlanIt is a well-defined set of documents to ensure and manage the quality throughout software development life cycle (SDLC) efficiently. The main objective of creating a quality management plan is to make sure that the project output is of adequate quality and suitable for the software. It helps guide the Project Manager and other to execute quality management and quality assurance activities for a project. This plan is usually developed by a contractor and reviewed by the customer.The quality management plan describes how the quality has to be managed. It determines quality policies and procedures for the project ... Read More

Append List to Pandas DataFrame Using iloc in Python

AmitDiwan
Updated on 22-Sep-2021 11:49:13

1K+ Views

The iloc method is an integer-location based indexing for selection by position. We are using iloc to append a list to a DataFrame.Let us first create a DataFrame. The data is in the form of lists of team rankings for our example −# data in the form of list of team rankings Team = [['India', 1, 100], ['Australia', 2, 85], ['England', 3, 75], ['New Zealand', 4 , 65], ['South Africa', 5, 50], ['Bangladesh', 6, 40]] # Creating a DataFrame and adding columns dataFrame = pd.DataFrame(Team, columns=['Country', 'Rank', 'Points'])Following is the row to be appended −myList = ["Sri Lanka", 7, ... Read More

Mutation Testing in Software Testing: Mutant Score and Analysis Example

Vineet Nanda
Updated on 22-Sep-2021 11:45:34

1K+ Views

Mutation TestingMutation testing, another form of software testing, is a testing in which statement(s) of the source code is/are changed or mutated to determine whether the test cases can detect errors in the source code or not. It is conducted to ensure the quality of test cases in terms of its robustness that it must fail the mutated source code.Mutation testing is not only done to determine the quality of existing software tests, but also to design new software tests. In mutation testing, a program is modified in small ways. It emphasizes helping testers develop effective tests and detect bottlenecks ... Read More

Model Based Testing Tutorial

Vineet Nanda
Updated on 22-Sep-2021 11:43:09

1K+ Views

Application testing is a critical activity for any apps. Various approaches for testing apps have been developed over the last decade to ensure that we are providing high-quality applications that meet all of the customer's needs.Model-based testing (MBT) is a hot issue in the world of test automation that involves creating test cases from models of the applications being testedVarious approaches based on model-based testing are now available. We'll show you two approaches for model-based testing that use genetic algorithms. The use of genetic algorithms for model-based testing is a hot issue, and there are several papers and comparisons of ... Read More

Add a New Column with Constant Value to Pandas DataFrame

AmitDiwan
Updated on 22-Sep-2021 11:41:48

5K+ Views

To add anew column with constant value, use the square bracket i.e. the index operator and set that value.At first, import the required library −import pandas as pdCreating a DataFrame with 4 columns −dataFrame = pd.DataFrame({"Car": ['Bentley', 'Lexus', 'BBMW', 'Mustang', 'Mercedes', 'Jaguar'], "Cubic_Capacity": [2000, 1800, 1500, 2500, 2200, 3000], "Reg_Price": [7000, 1500, 5000, 8000, 9000, 6000], "Units_Sold": [ 100, 110, 150, 80, 200, 90] })Adding a new column with a constant value. The new column names is set in the square bracket −dataFrame['Mileage'] = 15 ExampleFollowing is the complete code −import pandas as pd # creating dataframe dataFrame = ... Read More

Check if Pandas DataFrame Contains Infinity

AmitDiwan
Updated on 22-Sep-2021 11:32:31

8K+ Views

To check, use the isinf() method. To find the count of infinite values, use sum(). At first, let us import the required libraries with their respective aliases −import pandas as pd import numpy as npCreate a dictionary of list. We have set the infinity values using the Numpy np.inf −d = { "Reg_Price": [7000.5057, np.inf, 5000, np.inf, 9000.75768, 6000] } Creating dataframe from the above dictionary of listdataFrame = pd.DataFrame(d)Checking for infinite values using isinf() and displaying the countcount = np.isinf(dataFrame).values.sum() ExampleFollowing is the code −import pandas as pd import numpy as np # dictionary of list d = ... Read More

Create Pivot Table with Multiple Columns in Python Pandas

AmitDiwan
Updated on 22-Sep-2021 11:25:14

3K+ Views

We can create a Pivot Table with multiple columns. To create a Pivot Table, use the pandas.pivot_table to create a spreadsheet-style pivot table as a DataFrame.At first, import the required library −import pandas as pdCreate a DataFrame with Team records −dataFrame = pd.DataFrame({'Team ID': {0: 5, 1: 9, 2: 6, 3: 11, 4: 2, 5: 7 }, 'Team Name': {0: 'India', 1: 'Australia', 2: 'Bangladesh', 3: 'South Africa', 4: 'Sri Lanka', 5: 'England'}, 'Team Points': {0: 95, 1: 93, 2: 42, 3: 60, 4: 80, 5: 55}, 'Team Rank': {0: 'One', 1: 'Two', 2: 'Six', 3: 'Four', 4: 'Three', 5: ... Read More

Keyword Driven Testing Framework with Example

Vineet Nanda
Updated on 22-Sep-2021 11:20:32

1K+ Views

Keyword-driven TestingKeyword-driven testing is a functional testing, also called table-driven testing or action-wordbased testing. In this testing, a table format is used, most likely a spreadsheet, to define keywords for a function to be executed.Basically, it is a scripting technique which uses data files to contain keywords that are related to the software under testing. These keywords represent a set of actions needed to execute a specific step. It includes high-level and low-level keywords, as well as keyword arguments, that is composed to define the action of a test case.The testing starts by identifying a set of keywords, then associating ... Read More

Calculate Minimum of Column Values in a Pandas DataFrame

AmitDiwan
Updated on 22-Sep-2021 11:14:09

591 Views

To get the minimum of column values, use the min() function. At first, import the required Pandas library −import pandas as pdNow, create a DataFrame with two columns −dataFrame1 = pd.DataFrame(    {       "Car": ['BMW', 'Lexus', 'Audi', 'Tesla', 'Bentley', 'Jaguar'], "Units": [100, 150, 110, 80, 110, 90] } )Finding the minimum value of a single column “Units” using min() −print"Minimum Units from DataFrame1 = ", dataFrame1['Units'].min() In the same way, we have calculated the minimum value from the 2nd DataFrame.ExampleFollowing is the complete code −import pandas as pd # Create DataFrame1 dataFrame1 = pd.DataFrame(    { ... Read More

Do Testers Have to Write Code?

Vineet Nanda
Updated on 22-Sep-2021 11:10:25

3K+ Views

A common query that keeps running in the mind of every IT aspirant is: do software testers have to write or learn code? In this article, we will be discussing the solution to this question. Software testing can be done manually as well as through automation. We will be discussing what skills a good tester must possess, what all knowledge they must have, and how much coding knowledge a good tester must have.Before answering this question, we must understand various software testing roles. Quality assurance (QA) testing in software testing is primarily divided into two broad categories −Quality Analysts − ... Read More

Advertisements