SlideShare a Scribd company logo
What Do Contribution Guidelines
Say About Software Testing?
Bruna Falcucci, Felipe Gomide, Andre Hora
DCC/UFMG
andrehora@dcc.ufmg.br
MSR 2025
1
Motivation & Problem
Software testing plays a crucial role in the contribution
process of open-source projects
Contributions introducing new features are expected to
include tests
Contributions with tests are more likely to be accepted
2
“Tests help contributors feel con
fi
dent that they
won’t break anything. They also make it easier for
you to review and accept contributions quickly”
3
“Tests help contributors feel con
fi
dent that they
won’t break anything. They also make it easier for
you to review and accept contributions quickly”
“Ensure you have appropriate tests. These should be
the
fi
rst part of any PR”
4
“Tests help contributors feel con
fi
dent that they
won’t break anything. They also make it easier for
you to review and accept contributions quickly”
“Ensure you have appropriate tests. These should be
the
fi
rst part of any PR”
“Include tests if your patch adds or changes code”
5
6
7
Despite software testing’s critical role in contribution guidelines, we are not
yet aware of how software testing is explained to contributors
Maintainers may focus on various topics, including run/write tests, test
types, coverage, mocking, and other software testing practices
8
Study Design
9
Case Study
200 popular software repositories (100 Python and 100 JS)
200
Repositories
10
Case Study
200 popular software repositories (100 Python and 100 JS)
200
Repositories
184
With contribution
guidelines
11
Case Study
200 popular software repositories (100 Python and 100 JS)
200
Repositories
156
With test doc.
for contributors
184
With contribution
guidelines
12
Research Questions
RQ1: Frequency of test documentation for contributors
RQ2: Content of test documentation for contributors
13
Results
14
RQ1: Frequency of test documentation for contributors
15
RQ1: Frequency of test documentation for contributors
• 78% (156 in 200) of the projects include some form of test
documentation for contributors
• Test documentation is mostly located in CONTRIBUTING
fi
les
(58%) and external documentation (24%)
16
RQ2: Content of test documentation for contributors
17
RQ2: Content of test documentation for contributors
• Test documentation commonly explains how
to run tests (83.5%), but less often provides
guidance on how to write tests (37%)
• Test documentation frequently covers unit
tests (71%), but rarely addresses integration
(20.5%) and e2e tests (15.5%)
• Other key testing aspects are less frequently
discussed: test coverage (25.5%), mocking
(9.5%), and best practices (9%)
18
Examples
• LangChain: “Unit tests: run on every PR, so they should be fast and reliable”
• CPython: “Increase test coverage [...] Ideally we would like to have 100% coverage,
but any increase is a good one”
• scikit-learn: “We expect code coverage of new features to be at least around 90%”
• Pandas: “A unit test should not access a public data set over the internet due to
fl
akiness of network connections. To mock this interaction, use the httpserver
fi
xture”
• Next.js: “Best Practices: When applying a
fi
x, ensure the test fails without the
fi
x.
This makes sure the test will properly catch regressions”
19
Conclusion
78% of the projects have test documentation for contributors
More focus on how-to-run than than how-to-write
Unit tests are commonly covered, while e2e tests receive less attention
Discussions on test coverage and mocking are rarer
• Future Work: qualitatively explore test documentation to catalog best
practices and guidelines for contributors
20
What Do Contribution Guidelines
Say About Software Testing?
Bruna Falcucci, Felipe Gomide, Andre Hora
DCC/UFMG
andrehora@dcc.ufmg.br
MSR 2025
21
Ad

More Related Content

Similar to What Do Contribution Guidelines Say About Software Testing? (MSR 2025) (20)

Agile Testing: Best Practices and Methodology
Agile Testing: Best Practices and Methodology  Agile Testing: Best Practices and Methodology
Agile Testing: Best Practices and Methodology
Zoe Gilbert
 
An introduction to Software Testing and Test Management
An introduction to Software Testing and Test ManagementAn introduction to Software Testing and Test Management
An introduction to Software Testing and Test Management
Anuraj S.L
 
Software Engineering 2 lecture slide
Software Engineering 2 lecture slideSoftware Engineering 2 lecture slide
Software Engineering 2 lecture slide
Adil Mehmoood
 
Methodology Selection Strategy
Methodology Selection Strategy Methodology Selection Strategy
Methodology Selection Strategy
Ajeng Savitri
 
Agile testing guide_2021
Agile testing guide_2021Agile testing guide_2021
Agile testing guide_2021
QMetry
 
DevOps - Right Tool for Right Phase
DevOps - Right Tool for Right PhaseDevOps - Right Tool for Right Phase
DevOps - Right Tool for Right Phase
Dalibor Blazevic
 
Too many files
Too many filesToo many files
Too many files
nikhilawareness
 
Software testing techniques - www.testersforum.com
Software testing techniques - www.testersforum.comSoftware testing techniques - www.testersforum.com
Software testing techniques - www.testersforum.com
www.testersforum.com
 
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdfAn Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
KMSSolutionsMarketin
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Poonkodi Jayakumar
 
A Research Study on importance of Testing and Quality Assurance in Software D...
A Research Study on importance of Testing and Quality Assurance in Software D...A Research Study on importance of Testing and Quality Assurance in Software D...
A Research Study on importance of Testing and Quality Assurance in Software D...
Sehrish Asif
 
Mt s10 stlc&test_plan
Mt s10 stlc&test_planMt s10 stlc&test_plan
Mt s10 stlc&test_plan
TestingGeeks
 
Continuous Testing in Agile and DevOps.docx
Continuous Testing in Agile and DevOps.docxContinuous Testing in Agile and DevOps.docx
Continuous Testing in Agile and DevOps.docx
john221769
 
QM in Software Projects
QM in Software ProjectsQM in Software Projects
QM in Software Projects
Abhishek Prasoon
 
Agile testing
Agile testingAgile testing
Agile testing
Yogita patil
 
Agile Methods: Fact or Fiction
Agile Methods: Fact or FictionAgile Methods: Fact or Fiction
Agile Methods: Fact or Fiction
Matt Ganis
 
Essential Test Management and Planning
Essential Test Management and PlanningEssential Test Management and Planning
Essential Test Management and Planning
TechWell
 
Code Reviews
Code ReviewsCode Reviews
Code Reviews
phildenoncourt
 
Better Software East 2016: Evolving Automated to Continuous
Better Software East 2016: Evolving Automated to ContinuousBetter Software East 2016: Evolving Automated to Continuous
Better Software East 2016: Evolving Automated to Continuous
Parasoft
 
Dev ops lpi-701
Dev ops lpi-701Dev ops lpi-701
Dev ops lpi-701
Radhouen Assakra
 
Agile Testing: Best Practices and Methodology
Agile Testing: Best Practices and Methodology  Agile Testing: Best Practices and Methodology
Agile Testing: Best Practices and Methodology
Zoe Gilbert
 
An introduction to Software Testing and Test Management
An introduction to Software Testing and Test ManagementAn introduction to Software Testing and Test Management
An introduction to Software Testing and Test Management
Anuraj S.L
 
Software Engineering 2 lecture slide
Software Engineering 2 lecture slideSoftware Engineering 2 lecture slide
Software Engineering 2 lecture slide
Adil Mehmoood
 
Methodology Selection Strategy
Methodology Selection Strategy Methodology Selection Strategy
Methodology Selection Strategy
Ajeng Savitri
 
Agile testing guide_2021
Agile testing guide_2021Agile testing guide_2021
Agile testing guide_2021
QMetry
 
DevOps - Right Tool for Right Phase
DevOps - Right Tool for Right PhaseDevOps - Right Tool for Right Phase
DevOps - Right Tool for Right Phase
Dalibor Blazevic
 
Software testing techniques - www.testersforum.com
Software testing techniques - www.testersforum.comSoftware testing techniques - www.testersforum.com
Software testing techniques - www.testersforum.com
www.testersforum.com
 
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdfAn Ultimate Guide to Continuous Testing in Agile Projects.pdf
An Ultimate Guide to Continuous Testing in Agile Projects.pdf
KMSSolutionsMarketin
 
A Research Study on importance of Testing and Quality Assurance in Software D...
A Research Study on importance of Testing and Quality Assurance in Software D...A Research Study on importance of Testing and Quality Assurance in Software D...
A Research Study on importance of Testing and Quality Assurance in Software D...
Sehrish Asif
 
Mt s10 stlc&test_plan
Mt s10 stlc&test_planMt s10 stlc&test_plan
Mt s10 stlc&test_plan
TestingGeeks
 
Continuous Testing in Agile and DevOps.docx
Continuous Testing in Agile and DevOps.docxContinuous Testing in Agile and DevOps.docx
Continuous Testing in Agile and DevOps.docx
john221769
 
Agile Methods: Fact or Fiction
Agile Methods: Fact or FictionAgile Methods: Fact or Fiction
Agile Methods: Fact or Fiction
Matt Ganis
 
Essential Test Management and Planning
Essential Test Management and PlanningEssential Test Management and Planning
Essential Test Management and Planning
TechWell
 
Better Software East 2016: Evolving Automated to Continuous
Better Software East 2016: Evolving Automated to ContinuousBetter Software East 2016: Evolving Automated to Continuous
Better Software East 2016: Evolving Automated to Continuous
Parasoft
 

More from Andre Hora (15)

Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Andre Hora
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
When should internal interfaces be promoted to public? (FSE 2016)
When should internal interfaces be promoted to public? (FSE 2016)When should internal interfaces be promoted to public? (FSE 2016)
When should internal interfaces be promoted to public? (FSE 2016)
Andre Hora
 
Assessing the Threat of Untracked Changes in Software Evolution (ICSE 2018)
Assessing the Threat of Untracked Changes in Software Evolution (ICSE 2018)Assessing the Threat of Untracked Changes in Software Evolution (ICSE 2018)
Assessing the Threat of Untracked Changes in Software Evolution (ICSE 2018)
Andre Hora
 
JavaScript API Deprecation in the Wild: A First Assessment (SANER 2020)
JavaScript API Deprecation in the Wild: A First Assessment (SANER 2020)JavaScript API Deprecation in the Wild: A First Assessment (SANER 2020)
JavaScript API Deprecation in the Wild: A First Assessment (SANER 2020)
Andre Hora
 
Assessing Mock Classes: An Empirical Study (ICSME 2020)
Assessing Mock Classes: An Empirical Study (ICSME 2020)Assessing Mock Classes: An Empirical Study (ICSME 2020)
Assessing Mock Classes: An Empirical Study (ICSME 2020)
Andre Hora
 
What Code Is Deliberately Excluded from Test Coverage and Why? (MSR 2021)
What Code Is Deliberately Excluded from Test Coverage and Why? (MSR 2021)What Code Is Deliberately Excluded from Test Coverage and Why? (MSR 2021)
What Code Is Deliberately Excluded from Test Coverage and Why? (MSR 2021)
Andre Hora
 
Googling for Software Development: What Developers Search For and What They F...
Googling for Software Development: What Developers Search For and What They F...Googling for Software Development: What Developers Search For and What They F...
Googling for Software Development: What Developers Search For and What They F...
Andre Hora
 
Availability and Usage of Platform-Specific APIs: A First Empirical Study (MS...
Availability and Usage of Platform-Specific APIs: A First Empirical Study (MS...Availability and Usage of Platform-Specific APIs: A First Empirical Study (MS...
Availability and Usage of Platform-Specific APIs: A First Empirical Study (MS...
Andre Hora
 
How and Why Developers Migrate Python Tests (SANER 2022)
How and Why Developers Migrate Python Tests (SANER 2022)How and Why Developers Migrate Python Tests (SANER 2022)
How and Why Developers Migrate Python Tests (SANER 2022)
Andre Hora
 
Test Polarity: Detecting Positive and Negative Tests (FSE 2024)
Test Polarity: Detecting Positive and Negative Tests (FSE 2024)Test Polarity: Detecting Positive and Negative Tests (FSE 2024)
Test Polarity: Detecting Positive and Negative Tests (FSE 2024)
Andre Hora
 
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
Andre Hora
 
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
Andre Hora
 
Predicting Test Results without Execution (FSE 2024)
Predicting Test Results without Execution (FSE 2024)Predicting Test Results without Execution (FSE 2024)
Predicting Test Results without Execution (FSE 2024)
Andre Hora
 
SpotFlow: Tracking Method Calls and States at Runtime (ICSE 2024)
SpotFlow: Tracking Method Calls and States at Runtime (ICSE 2024)SpotFlow: Tracking Method Calls and States at Runtime (ICSE 2024)
SpotFlow: Tracking Method Calls and States at Runtime (ICSE 2024)
Andre Hora
 
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Andre Hora
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
When should internal interfaces be promoted to public? (FSE 2016)
When should internal interfaces be promoted to public? (FSE 2016)When should internal interfaces be promoted to public? (FSE 2016)
When should internal interfaces be promoted to public? (FSE 2016)
Andre Hora
 
Assessing the Threat of Untracked Changes in Software Evolution (ICSE 2018)
Assessing the Threat of Untracked Changes in Software Evolution (ICSE 2018)Assessing the Threat of Untracked Changes in Software Evolution (ICSE 2018)
Assessing the Threat of Untracked Changes in Software Evolution (ICSE 2018)
Andre Hora
 
JavaScript API Deprecation in the Wild: A First Assessment (SANER 2020)
JavaScript API Deprecation in the Wild: A First Assessment (SANER 2020)JavaScript API Deprecation in the Wild: A First Assessment (SANER 2020)
JavaScript API Deprecation in the Wild: A First Assessment (SANER 2020)
Andre Hora
 
Assessing Mock Classes: An Empirical Study (ICSME 2020)
Assessing Mock Classes: An Empirical Study (ICSME 2020)Assessing Mock Classes: An Empirical Study (ICSME 2020)
Assessing Mock Classes: An Empirical Study (ICSME 2020)
Andre Hora
 
What Code Is Deliberately Excluded from Test Coverage and Why? (MSR 2021)
What Code Is Deliberately Excluded from Test Coverage and Why? (MSR 2021)What Code Is Deliberately Excluded from Test Coverage and Why? (MSR 2021)
What Code Is Deliberately Excluded from Test Coverage and Why? (MSR 2021)
Andre Hora
 
Googling for Software Development: What Developers Search For and What They F...
Googling for Software Development: What Developers Search For and What They F...Googling for Software Development: What Developers Search For and What They F...
Googling for Software Development: What Developers Search For and What They F...
Andre Hora
 
Availability and Usage of Platform-Specific APIs: A First Empirical Study (MS...
Availability and Usage of Platform-Specific APIs: A First Empirical Study (MS...Availability and Usage of Platform-Specific APIs: A First Empirical Study (MS...
Availability and Usage of Platform-Specific APIs: A First Empirical Study (MS...
Andre Hora
 
How and Why Developers Migrate Python Tests (SANER 2022)
How and Why Developers Migrate Python Tests (SANER 2022)How and Why Developers Migrate Python Tests (SANER 2022)
How and Why Developers Migrate Python Tests (SANER 2022)
Andre Hora
 
Test Polarity: Detecting Positive and Negative Tests (FSE 2024)
Test Polarity: Detecting Positive and Negative Tests (FSE 2024)Test Polarity: Detecting Positive and Negative Tests (FSE 2024)
Test Polarity: Detecting Positive and Negative Tests (FSE 2024)
Andre Hora
 
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
Monitoring the Execution of 14K Tests: Methods Tend to Have One Path that Is ...
Andre Hora
 
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
Andre Hora
 
Predicting Test Results without Execution (FSE 2024)
Predicting Test Results without Execution (FSE 2024)Predicting Test Results without Execution (FSE 2024)
Predicting Test Results without Execution (FSE 2024)
Andre Hora
 
SpotFlow: Tracking Method Calls and States at Runtime (ICSE 2024)
SpotFlow: Tracking Method Calls and States at Runtime (ICSE 2024)SpotFlow: Tracking Method Calls and States at Runtime (ICSE 2024)
SpotFlow: Tracking Method Calls and States at Runtime (ICSE 2024)
Andre Hora
 
Ad

Recently uploaded (20)

Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Expand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchangeExpand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchange
Fexle Services Pvt. Ltd.
 
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
Egor Kaleynik
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025
kashifyounis067
 
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Lionel Briand
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
Solidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license codeSolidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license code
aneelaramzan63
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Expand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchangeExpand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchange
Fexle Services Pvt. Ltd.
 
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
Egor Kaleynik
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025
kashifyounis067
 
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Lionel Briand
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
Solidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license codeSolidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license code
aneelaramzan63
 
Ad

What Do Contribution Guidelines Say About Software Testing? (MSR 2025)

  • 1. What Do Contribution Guidelines Say About Software Testing? Bruna Falcucci, Felipe Gomide, Andre Hora DCC/UFMG [email protected] MSR 2025 1
  • 2. Motivation & Problem Software testing plays a crucial role in the contribution process of open-source projects Contributions introducing new features are expected to include tests Contributions with tests are more likely to be accepted 2
  • 3. “Tests help contributors feel con fi dent that they won’t break anything. They also make it easier for you to review and accept contributions quickly” 3
  • 4. “Tests help contributors feel con fi dent that they won’t break anything. They also make it easier for you to review and accept contributions quickly” “Ensure you have appropriate tests. These should be the fi rst part of any PR” 4
  • 5. “Tests help contributors feel con fi dent that they won’t break anything. They also make it easier for you to review and accept contributions quickly” “Ensure you have appropriate tests. These should be the fi rst part of any PR” “Include tests if your patch adds or changes code” 5
  • 6. 6
  • 7. 7
  • 8. Despite software testing’s critical role in contribution guidelines, we are not yet aware of how software testing is explained to contributors Maintainers may focus on various topics, including run/write tests, test types, coverage, mocking, and other software testing practices 8
  • 10. Case Study 200 popular software repositories (100 Python and 100 JS) 200 Repositories 10
  • 11. Case Study 200 popular software repositories (100 Python and 100 JS) 200 Repositories 184 With contribution guidelines 11
  • 12. Case Study 200 popular software repositories (100 Python and 100 JS) 200 Repositories 156 With test doc. for contributors 184 With contribution guidelines 12
  • 13. Research Questions RQ1: Frequency of test documentation for contributors RQ2: Content of test documentation for contributors 13
  • 15. RQ1: Frequency of test documentation for contributors 15
  • 16. RQ1: Frequency of test documentation for contributors • 78% (156 in 200) of the projects include some form of test documentation for contributors • Test documentation is mostly located in CONTRIBUTING fi les (58%) and external documentation (24%) 16
  • 17. RQ2: Content of test documentation for contributors 17
  • 18. RQ2: Content of test documentation for contributors • Test documentation commonly explains how to run tests (83.5%), but less often provides guidance on how to write tests (37%) • Test documentation frequently covers unit tests (71%), but rarely addresses integration (20.5%) and e2e tests (15.5%) • Other key testing aspects are less frequently discussed: test coverage (25.5%), mocking (9.5%), and best practices (9%) 18
  • 19. Examples • LangChain: “Unit tests: run on every PR, so they should be fast and reliable” • CPython: “Increase test coverage [...] Ideally we would like to have 100% coverage, but any increase is a good one” • scikit-learn: “We expect code coverage of new features to be at least around 90%” • Pandas: “A unit test should not access a public data set over the internet due to fl akiness of network connections. To mock this interaction, use the httpserver fi xture” • Next.js: “Best Practices: When applying a fi x, ensure the test fails without the fi x. This makes sure the test will properly catch regressions” 19
  • 20. Conclusion 78% of the projects have test documentation for contributors More focus on how-to-run than than how-to-write Unit tests are commonly covered, while e2e tests receive less attention Discussions on test coverage and mocking are rarer • Future Work: qualitatively explore test documentation to catalog best practices and guidelines for contributors 20
  • 21. What Do Contribution Guidelines Say About Software Testing? Bruna Falcucci, Felipe Gomide, Andre Hora DCC/UFMG [email protected] MSR 2025 21