SlideShare a Scribd company logo
Hands-On Testing: How to Integrate Tests in OPNFV
Hands-On Testing: How to
Integrate Tests in OPNFV
Jose Lausuch
Ericsson, Functest PTL
Hands-On Testing: How to Integrate Tests in OPNFV
Do not worry
we make it easy for you
1) Check the documentation
We have plenty of documents and guides that can help you
http://docs.opnfv.org
Config
guide
Dev
guide
User
guide
Release
notes
Wiki
API Docs
Documentation (e.g Functest)
• Config guide
• User guide
• Developer guide
• http://testresults.opnfv.org/functest/framework/
• API Docs
• https://wiki.opnfv.org/display/functest
2) Get familiar with the environment
Deploy OPNFV with your desired features installed
Follow the instructions to set up the test framework
Run tests
3) Write a dummy test case
Before testing your feature, make sure you can run
a simple “Hello World” with the test framework.
The framework should return “test successful”
4) Add the content of the test
Once you understand how to integrate a test in the
framework, you can start writing the code that exercises
your feature
Make use of framework libraries and helper functions
5) Declare the test case in the Test DB
There is a Database to store community results from CI runs
It is also used to store some information, such as:
• Test cases per project
• CI PODs
• Scenarios
Easy to do this using the Rest API
https://wiki.opnfv.org/pages/viewpage.action?pageId=6825128
{
"project_name": “myProject",
"run": "",
"name": "myTest",
"ci_loop": "daily",
"tags": "",
"blocking": "false",
"domains": "networking",
"dependencies": "",
"version": ">Euphrates",
"criteria": "",
"tier": "features",
"trust": "silver",
"catalog_description": "Hello world test case",
"description": "Hello world test case blah blah "
}
6) Push your code
You probably want to keep the code of your test in your repo
BUT
You will need to enable some things in the test framework
Example: Doctor test case in Functest
-
case_name: doctor-notification
project_name: doctor
criteria: 100
blocking: false
description: >-
Test suite from Doctor project.
dependencies:
installer: '(apex)|(fuel)'
scenario: '^((?!fdio).)*$'
run:
module: 'functest.core.feature'
class: 'BashFeature'
args:
cmd: 'cd /home/opnfv/repos/doctor/tests && ./run.sh'
testcases.yamlDockerfile
THAT’S IT!
7) Finally
Once the code is merged in your
repository and in the test framework
 Check CI
DEMO
Thank You

More Related Content

PDF
Challenge in asia region connecting each testbed and poc of distributed nfv ...
PPTX
Upstream Testing Collaboration
PDF
Faster, Higher, Stronger – Accelerating Fault Management to the Next Level
PDF
Qtip benchmarking as a service for opnfv
PPTX
Being Brave: Deploying OpenStack from Master
PDF
Demo how to efficiently evaluate nf-vi performance by leveraging opnfv testi...
PDF
OPNFV scenarios challenges and opportunities
PPTX
Challenges in testing for composite vim platforms
Challenge in asia region connecting each testbed and poc of distributed nfv ...
Upstream Testing Collaboration
Faster, Higher, Stronger – Accelerating Fault Management to the Next Level
Qtip benchmarking as a service for opnfv
Being Brave: Deploying OpenStack from Master
Demo how to efficiently evaluate nf-vi performance by leveraging opnfv testi...
OPNFV scenarios challenges and opportunities
Challenges in testing for composite vim platforms

What's hot (20)

PDF
Improving POD Usage in Labs, CI and Testing
PPTX
Connection points between opnfv and etsi nfv tst working group
PDF
Open Platform for NFV: Arno and Beyond
PDF
Automatic Integration, Testing and Certification of NFV in China Mobile
PPTX
Opnfv vision, community and projects
PPTX
Opnfv & odl case study slides
PDF
Openstack Tacker - Moving into Pike
PDF
Software-defined migration how to migrate bunch of v-ms and volumes within a...
PPTX
How to Reuse OPNFV Testing Components in Telco Validation Chain
PDF
Test and perspectives on nfvi from china unicom sdn nfv lab
PPTX
Opnfv testing + opnfv pharos + opnfv xci
PDF
How OPNFV Uses OpenStack & How It's Useful
PDF
Smart Testing: Catching More Bugs with Less Code Through Topology Shuffler
PDF
My network functions are virtualized, but are they cloud-ready
PDF
Run OPNFV Danube on ODCC Scorpio Multi-node Server - Open Software on Open Ha...
PPTX
Building OPNFV as a Platform
PPTX
Open stack gluon + opnfv netready
PDF
ONAP integration with opnfv via opera
PDF
Challenges in positioning open stack for nf-vi_ are we biting off more than w...
PDF
Evolution of OPNFV CI System: What already exists and what can be introduced
Improving POD Usage in Labs, CI and Testing
Connection points between opnfv and etsi nfv tst working group
Open Platform for NFV: Arno and Beyond
Automatic Integration, Testing and Certification of NFV in China Mobile
Opnfv vision, community and projects
Opnfv & odl case study slides
Openstack Tacker - Moving into Pike
Software-defined migration how to migrate bunch of v-ms and volumes within a...
How to Reuse OPNFV Testing Components in Telco Validation Chain
Test and perspectives on nfvi from china unicom sdn nfv lab
Opnfv testing + opnfv pharos + opnfv xci
How OPNFV Uses OpenStack & How It's Useful
Smart Testing: Catching More Bugs with Less Code Through Topology Shuffler
My network functions are virtualized, but are they cloud-ready
Run OPNFV Danube on ODCC Scorpio Multi-node Server - Open Software on Open Ha...
Building OPNFV as a Platform
Open stack gluon + opnfv netready
ONAP integration with opnfv via opera
Challenges in positioning open stack for nf-vi_ are we biting off more than w...
Evolution of OPNFV CI System: What already exists and what can be introduced
Ad

Similar to Hands-On Testing: How to Integrate Tests in OPNFV (20)

PDF
Integração contínua com Jenkins
PPTX
Introduce fuego
PPTX
XPDays-2018
PDF
How to Reverse Engineer Web Applications
PPTX
Top 10 dev ops tools (1)
PPTX
Education using FIRE
PDF
Getting Started with Selenium
PDF
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
PPTX
Build Tools & Maven
PDF
A Comprehensive Guide to Essential Workflows for Improving Flutter Unit Testi...
PPTX
Selenium Training in Chennai
PPTX
Opnfv primer how to get into opnfv
PDF
Python Requirements File How to Create Python requirements.txt
PDF
What is Devops? What are the Fundamentals of it?
PPTX
What I Learned From Writing a Test Framework (And Why I May Never Write One A...
PDF
The DNA of OPNFV
PPT
The Nuxeo Way: leveraging open source to build a world-class ECM platform
PDF
Eclipse IDE, 2019.09, Java Development
PDF
Lecture11_LaravelGetStarted_SPring2023.pdf
PPTX
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Integração contínua com Jenkins
Introduce fuego
XPDays-2018
How to Reverse Engineer Web Applications
Top 10 dev ops tools (1)
Education using FIRE
Getting Started with Selenium
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Build Tools & Maven
A Comprehensive Guide to Essential Workflows for Improving Flutter Unit Testi...
Selenium Training in Chennai
Opnfv primer how to get into opnfv
Python Requirements File How to Create Python requirements.txt
What is Devops? What are the Fundamentals of it?
What I Learned From Writing a Test Framework (And Why I May Never Write One A...
The DNA of OPNFV
The Nuxeo Way: leveraging open source to build a world-class ECM platform
Eclipse IDE, 2019.09, Java Development
Lecture11_LaravelGetStarted_SPring2023.pdf
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Ad

More from OPNFV (16)

PPTX
Energy Audit aaS with OPNFV
PDF
Storage Performance Indicators - Powered by StorPerf and QTIP
PDF
Big Data for Testing - Heading for Post Process and Analytics
PPTX
Testing, CI Gating & Community Fast Feedback: The Challenge of Integration Pr...
ODP
How Many Ohs? (An Integration Guide to Apex & Triple-o)
PDF
Enabling Carrier-Grade Availability Within a Cloud Infrastructure
PDF
Learnings From the First Year of the OPNFV Internship Program
PDF
OPNFV and OCP: Perfect Together
PDF
The Return of QTIP, from Brahmaputra to Danube
PDF
Distributed vnf management architecture and use-cases
PDF
Securing your nfv and sdn integrated open stack cloud- challenges, use-cases ...
ODP
Accelerated dataplanes integration and deployment
PDF
Crossing the river by feeling the stones from legacy to cloud native applica...
PDF
OPNFV with 5G Applications
PDF
Fast datastacks - fast and flexible nfv solution stacks leveraging fd.io
PDF
NFV interoperability, for the success of commercial deployments
Energy Audit aaS with OPNFV
Storage Performance Indicators - Powered by StorPerf and QTIP
Big Data for Testing - Heading for Post Process and Analytics
Testing, CI Gating & Community Fast Feedback: The Challenge of Integration Pr...
How Many Ohs? (An Integration Guide to Apex & Triple-o)
Enabling Carrier-Grade Availability Within a Cloud Infrastructure
Learnings From the First Year of the OPNFV Internship Program
OPNFV and OCP: Perfect Together
The Return of QTIP, from Brahmaputra to Danube
Distributed vnf management architecture and use-cases
Securing your nfv and sdn integrated open stack cloud- challenges, use-cases ...
Accelerated dataplanes integration and deployment
Crossing the river by feeling the stones from legacy to cloud native applica...
OPNFV with 5G Applications
Fast datastacks - fast and flexible nfv solution stacks leveraging fd.io
NFV interoperability, for the success of commercial deployments

Recently uploaded (20)

PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Digital Strategies for Manufacturing Companies
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
top salesforce developer skills in 2025.pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Design an Analysis of Algorithms I-SECS-1021-03
CHAPTER 2 - PM Management and IT Context
Upgrade and Innovation Strategies for SAP ERP Customers
Digital Strategies for Manufacturing Companies
Understanding Forklifts - TECH EHS Solution
Operating system designcfffgfgggggggvggggggggg
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PTS Company Brochure 2025 (1).pdf.......
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Navsoft: AI-Powered Business Solutions & Custom Software Development
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
top salesforce developer skills in 2025.pdf
Odoo Companies in India – Driving Business Transformation.pdf
Softaken Excel to vCard Converter Software.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Design an Analysis of Algorithms I-SECS-1021-03

Hands-On Testing: How to Integrate Tests in OPNFV

  • 2. Hands-On Testing: How to Integrate Tests in OPNFV Jose Lausuch Ericsson, Functest PTL
  • 4. Do not worry we make it easy for you
  • 5. 1) Check the documentation We have plenty of documents and guides that can help you http://docs.opnfv.org Config guide Dev guide User guide Release notes Wiki API Docs
  • 6. Documentation (e.g Functest) • Config guide • User guide • Developer guide • http://testresults.opnfv.org/functest/framework/ • API Docs • https://wiki.opnfv.org/display/functest
  • 7. 2) Get familiar with the environment Deploy OPNFV with your desired features installed Follow the instructions to set up the test framework Run tests
  • 8. 3) Write a dummy test case Before testing your feature, make sure you can run a simple “Hello World” with the test framework. The framework should return “test successful”
  • 9. 4) Add the content of the test Once you understand how to integrate a test in the framework, you can start writing the code that exercises your feature Make use of framework libraries and helper functions
  • 10. 5) Declare the test case in the Test DB There is a Database to store community results from CI runs It is also used to store some information, such as: • Test cases per project • CI PODs • Scenarios Easy to do this using the Rest API https://wiki.opnfv.org/pages/viewpage.action?pageId=6825128
  • 11. { "project_name": “myProject", "run": "", "name": "myTest", "ci_loop": "daily", "tags": "", "blocking": "false", "domains": "networking", "dependencies": "", "version": ">Euphrates", "criteria": "", "tier": "features", "trust": "silver", "catalog_description": "Hello world test case", "description": "Hello world test case blah blah " }
  • 12. 6) Push your code You probably want to keep the code of your test in your repo BUT You will need to enable some things in the test framework
  • 13. Example: Doctor test case in Functest - case_name: doctor-notification project_name: doctor criteria: 100 blocking: false description: >- Test suite from Doctor project. dependencies: installer: '(apex)|(fuel)' scenario: '^((?!fdio).)*$' run: module: 'functest.core.feature' class: 'BashFeature' args: cmd: 'cd /home/opnfv/repos/doctor/tests && ./run.sh' testcases.yamlDockerfile THAT’S IT!
  • 14. 7) Finally Once the code is merged in your repository and in the test framework  Check CI
  • 15. DEMO